MBorg 0 Posted October 11, 2024 Posted October 11, 2024 (edited) I run an Emby Docker container on my Raspberry Pi 4 connected to an USB enclosure with 2 HDDs. Whenever I want to play a MKV file while the HDD is suspended, the Emby client fails to start the playback and the video file can no longer be played by Emby or another player due to corruption (VLC accessing the file through SMB). When analyzing the corrupted file with MKVToolNix it identifies the problem as "No EBML head found.". Though the file does not seem to be fully corrupted, after a remount of the drive, the file is readable again. For further detail, I use HD-Idle to suspend the hard drives and the Emby log shows no error. How can I prevent Emby from corrupting the file and start the playback normally when the drive is suspended? Edited October 11, 2024 by MBorg
GrimReaper 4739 Posted October 11, 2024 Posted October 11, 2024 Just now, MBorg said: I run an Emby Docker container on my Raspberry Pi 4 Why is this topic posted under "Android Server" forum?
MBorg 0 Posted October 11, 2024 Author Posted October 11, 2024 (edited) Correct, wrong Forum. Requested to delete. Sorry Edited October 11, 2024 by MBorg
MBorg 0 Posted October 11, 2024 Author Posted October 11, 2024 Log file of attempted playback at 18:08 server time.embyserver.txt
Carlo 4560 Posted October 11, 2024 Posted October 11, 2024 Hi, 2024-10-11 17:28:28.612 Info Server: http/1.1 Response 206 to 192.168.178.44. Time: 130644ms. GET http://192.168.178.39:8096/emby/videos/13146/original.mkv?DeviceId=BorgGo&MediaSourceId=8e10e103bc20628efdef3c8fe9ab55bf&PlaySessionId=5ecc09b7e1e84f95bca3fda86e236be5&api_key=d627c54f17a5413c830c69643ec17783 2024-10-11 17:28:28.629 Info Server: http/1.1 POST http://192.168.178.39:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby Theater&X-Emby-Device-Name=BorgGo&X-Emby-Device-Id=BorgGo&X-Emby-Client-Version=3.0.20&X-Emby-Token=d627c54f17a5413c830c69643ec17783&X-Emby-Language=en-us&reqformat=json. Source Ip: 192.168.178.44, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.20 Chrome/87.0.4280.141 Electron/11.5.0 Safari/537.36 2024-10-11 17:28:28.631 Info SessionManager: Playback stopped reported by app Emby Theater 3.0.20 on BorgGo playing The Legend of Korra - S2, Ep1 - Rebel Spirit. Stopped at 129296 ms. PlaySessionId: 5ecc09b7e1e84f95bca3fda86e236be5 It looks like the client terminated playback due to not receiving media in a timely fashion. Above shows the server waiting more than 13 seconds.
MBorg 0 Posted October 12, 2024 Author Posted October 12, 2024 The client continues to show the loading screen for the media. I think it was me manually stopping the attempted media playback after 13s.
Luke 42077 Posted October 12, 2024 Posted October 12, 2024 Hi, maybe try rebooting the server machine and/or storage device? Emby opens the file in read-only mode. There's really no way it could corrupt it, but maybe there's a higher layer that has corrupted data in it's cache.
MBorg 0 Posted October 12, 2024 Author Posted October 12, 2024 Yes indeed the file is not actually corrupted. After a reboot or remount the file is accessible again. Though I can't identify on which layer the error appears.
Luke 42077 Posted October 12, 2024 Posted October 12, 2024 @MBorgplease let us know if you find anything. Thanks !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now