diff options
Diffstat (limited to 'abs/core/LinHES-system/idle.py')
-rwxr-xr-x | abs/core/LinHES-system/idle.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/abs/core/LinHES-system/idle.py b/abs/core/LinHES-system/idle.py index 40bbb16..16dc873 100755 --- a/abs/core/LinHES-system/idle.py +++ b/abs/core/LinHES-system/idle.py @@ -207,13 +207,18 @@ def mythfe_check(cmdargs,cursor,mythDB): return False else: msg(cmdargs," %s's mythfrontend is NOT playing." %i) + if '.xml' in location or 'mainmenu' in location: + msg(cmdargs," %s's mythfrontend is in MENUS." %i) + else: + msg(cmdargs," %s's mythfrontend is NOT in menus." %i) + return False except: msg(cmdargs," Could not connect to %s's mythfrontend." %i) if ( cmdargs.runningfe ): - msg(cmdargs," No mythfrontends are running or playing.") + msg(cmdargs," mythfrontends are not running or playing or are in menus.") else: - msg(cmdargs," No mythfrontends are playing.") + msg(cmdargs," mythfrontends are not playing or are in menus.") return True @@ -235,8 +240,9 @@ def usage(): - mythtv-setup is running return busy - There are upcoming recordings return busy checks the next 15 minutes. -t TIME changes time - - mythfrontends playing back a recording or video - (option -r) mythfrontends running + - mythfrontends playing back a recording or video + - mythfrontends not in menus idle.py stops checking and returns false (busy) when the first busy is found. ''' |