[mythtv-commits] [MythTV/mythtv] 934bcf: MythDisplayRPI: Squash a warning
Mark Kendall
noreply at github.com
Mon Jan 27 12:18:33 UTC 2020
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 934bcf9a02d076c1bfefa236cddf8398b35f7c5a
https://github.com/MythTV/mythtv/commit/934bcf9a02d076c1bfefa236cddf8398b35f7c5a
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/libs/libmythui/platforms/mythdisplayrpi.cpp
M mythtv/libs/libmythui/platforms/mythdisplayrpi.h
Log Message:
-----------
MythDisplayRPI: Squash a warning
Commit: 3905f73ecdaa6f8baf14e9e2dddf0f8a8f6d9b2b
https://github.com/MythTV/mythtv/commit/3905f73ecdaa6f8baf14e9e2dddf0f8a8f6d9b2b
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/libs/libmythbase/mythpower.cpp
M mythtv/programs/mythfrontend/exitprompt.cpp
M mythtv/programs/mythfrontend/exitprompt.h
M mythtv/programs/mythfrontend/globalsettings.cpp
M mythtv/programs/mythfrontend/main.cpp
Log Message:
-----------
MythFrontend: Convert ExitPrompter to use MythPower
- most, if not all, users should see no change to existing behaviour
- if a command is set for reboot or shutdown, these are still used
- the old dbus code used a mix of logind, HAL, ConsoleKit and UPower
interfaces
- consolekit is now no longer installed on most systems and is
unmaintained and considered unsafe
- HAL is deprecated
- UPower no longer supports suspend or hibernate
- and logind is now the interface of choice
- MythPower also has an OSX implementation offering similar functionality
- add a new option for Suspend
- extend the confirmation dialog so that it is always used when a
shutdown/suspend/reboot request is initiated
- there is a default 3 second delay between the request to MythPower and
its implementation. When MythPower is added by default to
MythCoreContext, this will allow other MythTV components to request that
the delay is extended so that shutdowns etc can be handled gracefully
(e.g. allow SSDP Bye Bye notifications to be sent twice over a 5 second
interval).
- the use of logind scheduled requests also allows other system
components to handle shutdown etc gracefully if need be.
- it is theoretically possible to add another dialog that would offer a
countdown and ability to cancel the shutdown/reboot/suspend - but most
window managers appear to start shutting down display etc as soon as the
request is made - and hence the extra dialog is not isible/useful
Commit: ee66508f874c3f79e8582b2322c41b2b43ef3ce2
https://github.com/MythTV/mythtv/commit/ee66508f874c3f79e8582b2322c41b2b43ef3ce2
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/libs/libmythbase/mythpower.cpp
M mythtv/libs/libmythbase/mythpower.h
M mythtv/programs/mythfrontend/globalsettings.cpp
Log Message:
-----------
GlobalSettings: Add available power options to help text
- or indicate if none are available
Commit: 7238608ae7f60d7361d20a081974575f9dfff3b4
https://github.com/MythTV/mythtv/commit/7238608ae7f60d7361d20a081974575f9dfff3b4
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/programs/mythfrontend/exitprompt.cpp
M mythtv/programs/mythfrontend/exitprompt.h
M mythtv/programs/mythfrontend/globalsettings.cpp
Log Message:
-----------
GlobalSettings: Add suspend command setting
- and extend the help text to hint to the user that the various extra
settings may not be needed
Commit: 0f16864853c8fb198cb32bcf9ec7ba58f39c03de
https://github.com/MythTV/mythtv/commit/0f16864853c8fb198cb32bcf9ec7ba58f39c03de
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/programs/mythfrontend/exitprompt.cpp
M mythtv/programs/mythfrontend/globalsettings.cpp
Log Message:
-----------
Android: Disable suspend, reboot and shutdown settings/options
Commit: 0f81529f1ae3f70cf527dc4e1713cba24853e6c4
https://github.com/MythTV/mythtv/commit/0f81529f1ae3f70cf527dc4e1713cba24853e6c4
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/libs/libmyth/mythcontext.cpp
M mythtv/libs/libmythbase/mythcorecontext.cpp
M mythtv/libs/libmythbase/mythcorecontext.h
Log Message:
-----------
MythCoreContext: Enable MythPower
Commit: b8375809e896d675d517ed441d67592108832408
https://github.com/MythTV/mythtv/commit/b8375809e896d675d517ed441d67592108832408
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M mythtv/libs/libmythupnp/upnp.cpp
M mythtv/libs/libmythupnp/upnp.h
Log Message:
-----------
UPNP: Connect to MythPower and send SSDP notifications appropriately
- which should ensure we play nicely with other devices when suspending
etc
Compare: https://github.com/MythTV/mythtv/compare/704f5ef36607...b8375809e896
More information about the mythtv-commits
mailing list