Jellyfin Forum
Detecting inactivity for shutdown script - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Detecting inactivity for shutdown script (/t-detecting-inactivity-for-shutdown-script)



Detecting inactivity for shutdown script - Michael Ellis - 2023-10-31

Hey, I'm looking for the best way to detect inactivity from jellyfin so I can perform a shutdown script on the server I'm running it on. If anyone has any ideas or knows of a good way or plugin to do this please let me know! I'm probably going to start by investigating logging from jellyfin but it can't hurt to ask right? Thanks in advance!


RE: Detecting inactivity for shutdown script - Michael Ellis - 2023-11-01

I found some other users interested in this type of thing with a potential solution that is line with what I was thinking of trying. I will try to update this if/when i get a good solution for future readers. My use case is windows, I assume this would be easier on linux systems but still very convertible logic.

https://old.reddit.com/r/jellyfin/comments/zvqmjm/prevent_os_from_sleepinghibernating_while/