LinHES Forums
http://forums.linhes.org/

idle.py question
http://forums.linhes.org/viewtopic.php?f=21&t=24095
Page 1 of 1

Author:  bgrant3406 [ Wed Nov 19, 2014 9:28 am ]
Post subject:  idle.py question

Hi I've been looking at an issue where xymon shows that myth_mtc is not running, digging into the logs I see where idle.py is finding that a "mythfrontend is NOT in menus." and returning a system busy, so myth_mtc doesn't complete (until the FE is in menus clearing the "busy" state).

Checking all of my frontends, they are actually idle, but if one is left in the recordings selection area (Main Menu->Media Library->Watch Recordings->Anywhere in this area) then idle.py will show that FE as busy, the new Frontend Status feature shows the MythFrontend Location as "playbackbox".

Normally after watching a show, we don't exit to the menus, we leave the frontend in the "playbackbox" location where we can scroll to the next recorded show we want to watch.

Digging into idle.py I see:
Code:
if ( location.startswith('Playback ') ):

seems to be where the issue lies for me as that is identifying the frontend as busy when it is in the "playbackbox" location.

Can I create an exception for "playbackbox" or Is there a state where being in this section would cause an issue with myth_mtc running (DB optimization, backups etc.)?

Thanks for any ideas!
Bruce.

Author:  RacerX [ Wed Nov 19, 2014 10:54 am ]
Post subject:  Re: idle.py question

In R8.2 if it's busy it is not going to run until it clears. Need to change your process a little and it will run

http://forum.linhes.org/viewtopic.php?f=21&t=24083&hilit=mtc

Author:  bgrant3406 [ Wed Nov 19, 2014 11:40 am ]
Post subject:  Re: idle.py question

Thanks, I missed that thread!

Any ideas on :
Quote:
Can I create an exception for "playbackbox" or Is there a state where being in this section would cause an issue with myth_mtc running (DB optimization, backups etc.)?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/