[mythtv-commits] Ticket #13431: Add Enable/Disable Auto Shutdown to System Menu
MythTV
noreply at mythtv.org
Sat Apr 6 18:55:38 UTC 2019
#13431: Add Enable/Disable Auto Shutdown to System Menu
------------------------------+--------------------------------
Reporter: Britney Fransen | Owner: (none)
Type: Patch - Feature | Status: infoneeded_new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+--------------------------------
Comment (by Peter Bennett):
Personally, I do this with tests in the pre-shutdown check script for
various conditions, including any user logged in apart from my tv-watching
user. That way, for example, if I am logged in to the master backend via
ssh it will not shut down. Other conditions are also tested, like for
users accessing mythweb.
However - if you want it to be done from the frontend menu - that can also
be achieved without any code changes. You can customize your menu theme
with additional options and use the "EXEC someprogram" action to set a
file that is checked in pre-shutdown or to call the mythshutdown --lock,
whichever way you want to do it. see
https://www.mythtv.org/wiki/Menu_theme_development_guide.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13431#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list