I have Emby server (version 126.96.36.199) running on a Synology DS216play (DS version DSM 6.2.2-24922 Update 3). Our primary client is the Emby app on our Apple TV 4K (both running most recent versions).
When playing music, we generally select Songs and Shuffle, allowing it to cycle through our entire library (about 4500 songs of various formats). We have a Weimaraner who has a bit of separation anxiety so when we are gone and leave her crated we leave music playing in the background to help calm her.
When I first switched from Plex to Emby, we could gone several hours, as much as 6 hours, and get home to find the music still playing. Even now, there are times my wife leaves it on while she is home during the day and it plays 7-8 hours without stopping.
However, over the past two weeks, we periodically come back into the livingroom to find that the music has stopped. There is no outward sign of a problem... the Apple TV screen saver is on (it comes on after 2 minutes so it's not that interrupting the music) and when we clear it the Emby "now playing" screen is up with the latest song displayed but stopped. There is no error message and if we hit Play it starts playing again just fine. I have not tested to see how long it might go when restarted.
Generally, it seems like it stops after 1-3 hours. There appears to be no commonality in terms of which song it stops on.
I've checked the Emby logs and, while there are some errors here and there, since I don't know exactly what time it stopped playing I can't tell whether any of them have anything to do with the issue. Since many are in periods that it appears the music was playing ok, I suspect they are minor issues that have nothing to do with playback stopping.
I've enabled Debugging on the log page and am playing music now while we are home, hoping to catch when it stops and be able to check the logs in that time period.
This is exactly why I left Plex as we had a similar problem with it that I never could solve (nor could the Plex support people).
Given it was happening on Plex, too, I have to wonder whether it is an Apple TV issue but, if so, assume the problem is surely in the Emby app on Apple TV (and the Plex app before it). Hopefully, even then whatever happens would show up in the Emby logs.
I searched the forums and don't see anything quite like this. Any suggestion?