[mythtv-commits] Ticket #12972: Frontend idle timeout cannot be fully disabled

MythTV noreply at mythtv.org
Fri Aug 18 22:45:31 UTC 2017


#12972: Frontend idle timeout cannot be fully disabled
------------------------------+--------------------------
 Reporter:  amb@…             |          Owner:  pbennett
     Type:  Patch - Bug Fix   |         Status:  assigned
 Priority:  minor             |      Milestone:  29.0
Component:  MythTV - General  |        Version:  0.28.0
 Severity:  low               |     Resolution:
 Keywords:                    |  Ticket locked:  0
------------------------------+--------------------------

Comment (by rsiddons):

 Replying to [comment:13 amb@…]:
 > The !FrontendIdleTimeout controls when the frontend goes to standby,
 this is it's only purpose.  Therefore every possible place in the software
 that could go to standby must check this setting otherwise the frontend
 could go to standby when forbidden by the setting.

 > The only issue I have is the frontend going to standby when started even
 though the !FrontendIdleTimeout has been deliberately set to zero (which
 the documentation string tells me prevents it ever going to standby).
 I disagree. Its only role is to time out the FE & shut down the system
 when its been left idle after use. The setup 'documentation' is brief
 because it has limited space. The wiki documentation (comment:12) "There
 is one special case where the frontend will enter standy if this is
 zero..." is wrong (probably changed as part of this discussion). The code
 has never used the idle timeout when determining its start-up state. When
 automatically started it goes into standby; otherwise it does full
 startup. So the issue lies with !WasAutomaticStart. It can be improved,
 but ultimately it's hard for an application to know why it's been started
 without external (OS-specific) hints.

 Maybe we should change the title/description to "FE sometimes goes into
 Standby when manually started".

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12972#comment:16>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list