BillOatman 596 Posted February 23, 2025 Posted February 23, 2025 I have a situation where a friend with a Apple TV is watching a video and occasionally doesn't exit out the "correct" way. This leaves the connection active indefinitely. The record is 7 hours so far before I noticed. Is there a server setting to auto boot a client that has been inactive for a certain period of time? The server panel shows that client watching something, but I think it shows paused.
Luke 42078 Posted February 23, 2025 Posted February 23, 2025 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
caffeineshock 18 Posted February 24, 2025 Posted February 24, 2025 i asked about the same issue once had the same replay from a team-member. thought it wasnt worth it let see^^
Happy2Play 9780 Posted February 24, 2025 Posted February 24, 2025 12 minutes ago, caffeineshock said: i asked about the same issue once had the same replay from a team-member. thought it wasnt worth it let see^^ Seems pretty simple to click Restart, takes what a minute at most? But the only way to currently clear abandons sessions is a Emby restart. Not sure if there is an api method to kill the rogue session.
BillOatman 596 Posted February 24, 2025 Author Posted February 24, 2025 (edited) 32 minutes ago, Happy2Play said: Seems pretty simple to click Restart, takes what a minute at most? But the only way to currently clear abandons sessions is a Emby restart. Not sure if there is an api method to kill the rogue session. My use case is that I have a utility that I wrote (and posted about here) called EmbyShutdown. When run it waits for all users to be off Emby for 10 minutes, then gracefully shuts down Emby, then the server box itself. I have it set to run at 11pm daily. When this ATV situation happens, EmbyShutdown thinks there is still an active user so the box stays up all night. I was looking for a API method as well and did not see one, was figuring maybe I'd create a "KillOrphanedClients" plugin. I'll have to see if maybe there is something in the session info that EmbyShutdown gets that can act as a key to ignore a client in that state. Edited February 24, 2025 by BillOatman
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