Skip to content

XBMC addon to inhibit idle shutdown when TCP conections are open.

Notifications You must be signed in to change notification settings

rlKoekie/service.inhibit_shutdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloned this xbmc inhibit shutdown script.
originally it blocks shutdown on active tcp connections.

I've added:
- inhibit shutdown on torrent downloads (Transmission)
- inhibit shutdown if a "lockfile" is present on the system
- add a delay before allowing shutdown again if it was inhibited (this is to make sure we do not shut down directly after dropping a remote connection. If i am logged in remotely, and want to reconnect, i do not want the machine to go down)
- changed the sleep time loop to allow xbmc to shutdown without a long delay

About

XBMC addon to inhibit idle shutdown when TCP conections are open.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%