https://bugs.kde.org/show_bug.cgi?id=369129

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from [email protected] ---
For anyone interested in a workaround for disabling automatic screen-off during
media playback, here's how I solved it:

1. Listen for PropertiesChanged signals on org.mpris.MediaPlayer2.Player and
check changes to PlaybackStatus.
2. Set PowerDevil's TurnOffDisplayWhenIdle configuration key to false when any
player is playing, or true when none are playing, using kwriteconfig6.
3. Call org.kde.Solid.PowerManagement.reparseConfiguration to apply the change.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to