Jump to content

Auto Boot from Server?


Recommended Posts

BillOatman
Posted

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.

caffeineshock
Posted

i asked about the same issue once

had the same replay from a team-member. thought it wasnt worth it

let see^^

Happy2Play
Posted
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
Posted (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 by BillOatman

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...