MoviezMcGee 0 Posted March 9 Share Posted March 9 Description: Hello! I have an iPhone 7 running iOS 15.8.2 (latest supported version). Emby runs very well when watching movies and TV shows. For some reason, it plays MP3 music fine, but M4A encoded music sometimes plays, but usually fails spectacularly. Sometimes it will play just fine, but usually it will just not play anything. If I shuffle my whole music library, I can sometimes see it flash through hundreds of songs until it hits the MP3 audio I downloaded onto my device. If I load my server up in Safari, M4A audio plays just fine. Debugging information: Phone model: iPhone 7 iOS: 15.8.2 Emby app: Emby for iOS 2.2.17 Emby server: 4.8.3.0 Problematic codecs/containers: M4A (mpeg-4 audio) Additional information: When I have time to test, I will report whether or not newer versions of iOS and Android are affected. As mentioned, using the web app in Safari doesn't have any problems like this. Link to comment Share on other sites More sharing options...
Luke 37066 Posted March 9 Share Posted March 9 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks! Link to comment Share on other sites More sharing options...
MoviezMcGee 0 Posted March 9 Author Share Posted March 9 @LukeI suppose I can open another discussion under the Linux server category for media playback. Here's a snippet of the log from my server: 2024-03-09 07:24:40.910 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.910 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 758ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.910 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.910 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 632ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 624ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 641ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 637ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 686ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 627ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 758ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 622ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 618ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 645ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 609ms. POST http://host4/emby/Sessions/Playing/Stopped? This is MUCH longer, having hundreds of lines, each message just milliseconds apart. On my phone, it just flew through hundreds of songs in a heartbeat before landing on an MP3 file. Link to comment Share on other sites More sharing options...
MoviezMcGee 0 Posted March 9 Author Share Posted March 9 Description: Hello! I have an iPhone 7 running iOS 15.8.2 (latest supported version). Emby runs very well when watching movies and TV shows. For some reason, it plays MP3 music fine, but M4A encoded music sometimes plays, but usually fails spectacularly. Sometimes it will play just fine, but usually it will just not play anything. If I shuffle my whole music library, I can sometimes see it flash through hundreds of songs until it hits the MP3 audio I downloaded onto my device. If I load my server up in Safari, M4A audio plays just fine. Debugging information: Phone model: iPhone 7 iOS: 15.8.2 Emby app: Emby for iOS 2.2.17 Emby server: 4.8.3.0 Problematic codecs/containers: M4A (mpeg-4 audio) Relevant server log: 2024-03-09 07:24:40.910 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.910 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 758ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.910 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.910 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 632ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 624ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 641ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 637ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 686ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 627ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 758ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 622ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 618ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 645ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:24:40.911 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7 playing unknown item. Stopped at 0 ms 2024-03-09 07:24:40.911 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:24:40.911 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 609ms. POST http://host4/emby/Sessions/Playing/Stopped? This is a snippet. The actual log is FAR longer, containing hundreds, maybe thousands of lines just like this. In the app, the player at the bottom flashes through hundreds of album covers in a moment, before landing on an MP3 file it can actually play. Additional information: When I have time to test, I will report whether or not newer versions of iOS and Android are affected. As mentioned, using the web app in Safari doesn't have any problems like this. Attached is a screen capture of this bug occurring, recorded on my iPhone 7. In the video, I press shuffle, and it soon after lands on an MP3 file and plays. I press it again, and it flies through a ton of M4A files until it gives up. Finally, I press it one more time, and it has a spinner and does nothing. Here's the end of the log after I recorded the video: 2024-03-09 07:37:29.399 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 3ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:37:29.400 Info Server: http/1.1 POST http://host4/emby/Sessions/Playing/Stopped?. UserAgent: Emby/1 CFNetwork/1335.0.3.4 Darwin/21.6.0 2024-03-09 07:37:29.404 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7playing unknown item. Stopped at 1806 ms 2024-03-09 07:37:29.404 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:37:29.404 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 4ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:37:29.406 Info Server: http/1.1 POST http://host4/emby/Sessions/Playing/Stopped?. UserAgent: Emby/1 CFNetwork/1335.0.3.4 Darwin/21.6.0 2024-03-09 07:37:29.406 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7playing unknown item. Stopped at 1806 ms 2024-03-09 07:37:29.406 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:37:29.406 Info Server: http/1.1 Response 204 to emby_remote_ip. Time: 1ms. POST http://host4/emby/Sessions/Playing/Stopped? 2024-03-09 07:38:23.805 Info SessionManager: Session local-1709969860 has gone idle while playing 2024-03-09 07:38:23.805 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7playing Someone Must Get Hurt. Stopped at 59000 ms 2024-03-09 07:38:23.805 Info SessionManager: Removing playSession local-1709969860 from session ee23c37344eeb08cfea5b3635b764e09 2024-03-09 07:38:23.806 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:38:24.813 Info SessionManager: Session local-1709969861 has gone idle while playing 2024-03-09 07:38:24.813 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7playing Someone Must Get Hurt. Stopped at 60000 ms 2024-03-09 07:38:24.814 Info SessionManager: Removing playSession local-1709969861 from session ee23c37344eeb08cfea5b3635b764e09 2024-03-09 07:38:24.814 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:38:24.860 Info SessionManager: Session local-1709969862 has gone idle while playing 2024-03-09 07:38:24.860 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone 7playing Someone Must Get Hurt. Stopped at 60000 ms 2024-03-09 07:38:24.860 Info SessionManager: Removing playSession local-1709969862 from session ee23c37344eeb08cfea5b3635b764e09 2024-03-09 07:38:24.861 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered 2024-03-09 07:39:18.081 Info Server: http/1.1 POST http://localhost:8097/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Safari&X-Emby-Device-Id=xxxxxxxxx-xxxxx-xxxxxxxxxx-Emby-Client-Version=4.8.3.0&X-Emby-Token=x_secret4_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15 2024-03-09 07:39:18.082 Info Server: http/1.1 Response 204 to ::1. Time: 0ms. POST http://localhost:8097/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Safari&X-Emby-Device-Id=xxxxxxxxx-xxxxx-xxxxxxxxxx-Emby-Client-Version=4.8.3.0&X-Emby-Token=x_secret4_x&X-Emby-Language=en-us&reqformat=json emby_ios_bugged_m4a.mov Link to comment Share on other sites More sharing options...
MoviezMcGee 0 Posted March 9 Author Share Posted March 9 For those who might be struggling to play Apple's QuickTime codec (MOV container) due to missing codecs, here's a re-encoded video file encoded in AV1: emby_ios_bugged_m4a.webm Link to comment Share on other sites More sharing options...
MoviezMcGee 0 Posted March 10 Author Share Posted March 10 @LukeThis bug doesn't occur when I'm on cellular data, or another WiFi network accessing my content remotelty. It only happens when I'm connected to my server using the app, using the remote server URL while on the same local network as my server. In fact, this also happens to movies and shows, so this is actually a different bug than I initially thought. What's really going on is when Emby for iOS is connected to my server using the remote URL domain, but also on the same local network as the server, it just wigs out and doesn't play anything correctly at all! Link to comment Share on other sites More sharing options...
Luke 37066 Posted March 11 Share Posted March 11 HI, when it fails on a specific file, is it consistent if you try that same file again? Link to comment Share on other sites More sharing options...
MoviezMcGee 0 Posted March 12 Author Share Posted March 12 (edited) 6 hours ago, Luke said: HI, when it fails on a specific file, is it consistent if you try that same file again? With further testing, I found that this had nothing to do with the codec/file, but was actually a general issue that affected all media including movies and shows. What I found is: If I am connected to my server using the remote url on my domain, but also signed in on the same local network as my Emby server, nothing plays correctly. It only works properly if I'm using mobile data or another network connection. Curiously, I don't have any problem downloading the files for offline listening on the same network, I just can't stream anything from my server if the Emby for iOS app is set to use the remote https URL for the server, while on the local network of said server. The reason my MP3 files were playing is because I had them downloaded already! Edited March 12 by MoviezMcGee Link to comment Share on other sites More sharing options...
Luke 37066 Posted March 12 Share Posted March 12 Quote This bug doesn't occur when I'm on cellular data, or another WiFi network accessing my content remotelty. Possibly due to the server converting it to a different format. Anyway can you provide a sample file for testing? thanks. Link to comment Share on other sites More sharing options...
MoviezMcGee 0 Posted March 13 Author Share Posted March 13 (edited) 2- These Things.mp3 mp3 ^ 02 Dismantle Me.m4a m4a ^ 02 Mad World.m4a m4a ^ Edited March 13 by MoviezMcGee Link to comment Share on other sites More sharing options...
Luke 37066 Posted March 25 Share Posted March 25 HI, are you still having an issue with this? Link to comment Share on other sites More sharing options...
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