[BUG] Android playback issue
I have an oddly specific issue with my server. I cannot play back videos from a specific source. I can play any of this media on any other platform, except for the android app.
When I try on android, I get the message "An error occurred while attempting to play this video. Please try restarting both the Plex Media Server and this app." I've restarted both, with no success, i've also tried multiple android phones, all running the latest plex android app.
The source of the videos is a raspberry pi, with a pi camera, it's running some software called motioneye, recording video any time motion is detected.
Twice a day, a script (written by myself) runs on the server, pulling the last 12 hours of footage and stitching it all together into one file using ffmpeg. This script only concatenates the files, and does not touch the encoding.
The video is mp4 format. I've gone through every single encoding option in motioneye and all of them have the same result.
I've got the logs, after reproducing the issue, I will attach the zip to this post.
I have had a look through them and narrowed down the issue, here is the part it's to failing:
com.plexapp.android 2018-04-10 19-31.log
04-10 19:31:02.528 e: An exception occurred: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.plexapp.plex.net.s.a(java.lang.String, int)' on a null object reference
04-10 19:31:02.533 i: [Boot] MobileVideoPlayerActivity took 9ms to run create behaviours.
04-10 19:31:02.544 e: Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.plexapp.plex.net.s.a(java.lang.String, int)' on a null object reference
04-10 19:31:02.583 i: Resuming MobileVideoPlayerActivity.
04-10 19:31:02.602 i: [PlayQueueBehaviour] Clearing audio PQ because video playback has started.
04-10 19:31:02.614 i: [SBB] MobileVideoPlayerActivity We're in landscape (1920 x 1080).
04-10 19:31:02.615 e: [video] Unable to decide on a video for playback: /library/metadata/29479
04-10 19:31:02.616 e: [Video Player] A non-recoverable error occurred while attempting to play: /library/metadata/29479.
04-10 19:31:02.616 e: [Video Player] An error occurred while attempting to play this video. Please try restarting both the Plex Media Server and this app.
I've tried all the troubleshooting steps I can think of (short of reinstalling the server)
I have been puzzling over this for about a week on and off, but after seeing this log i'm wondering if it's an application issue and not actually anything to do with my media or my setup!