[mythtv-users] How can I know when a frontend is watching a recording or livetv?
Oscar Curero
oscar-listas at naiandei.net
Sun Feb 26 17:31:57 UTC 2006
Hi,
I thought that using mythshutdown I could know when I can shutdown the backend
and set the new wakeup date, but one of the main thing to know before even
trying to power-off the machine is if the backend is being used by any
frontend. Reading the mythshutdown help seems if like this return code was
missing:
Usage of mythshutdown
-w/--setwakeup time (sets the wakeup time. time=yyyy-MM-ddTmm:hh:ss.
doesn't write it into nvram)
-q/--shutdown (set nvram-wakeup time and shutdown)
-p/--startup (check startup. check will return 0 if automatic
1 for manually)
-c/--check (check shutdown possible returns 0 ok to shutdown
1 reset idle check)
-l/--lock (disable shutdown. check will return 1.)
-u/--unlock (enable shutdown. check will return 0)
-s/--status (returns a code indicating the current status)
0 - Idle
1 - Transcoding
2 - Commercial Flagging
4 - Grabbing EPG data
8 - Not used
16 - Locked
32 - Not used
64 - In a daily wakeup/shutdown period
128 - Less than 15 minutes to next wakeup period
-v/--verbose debug-level (Use '-v help' for level info
-h/--help (shows this usage)
Any idea?
TIA for your help!
--
Oscar Curero - Linux user: 306877
-- GPG keyID: 0xE0EA0B24 --
--
Oscar Curero - Linux user: 306877
-- GPG keyID: 0xE0EA0B24 --
More information about the mythtv-users
mailing list