Prevent suspend/hibernation when mpd is in the playback mode

Discuss client development (or even MPD development if you feel so inclined), ask questions about the client libs, MPD feature requests from client developers, etc...

Prevent suspend/hibernation when mpd is in the playback mode

Postby Atronach » August 3rd, 2013, 5:06 pm

Hi,
when playing some music from mpd my system always gets suspended after some 45 min of idle period (but during playback) since I have it set that way in KDE. When mpd is running, the system should only get suspended when mpd is in the pause mode. During the playback mode the suspend/hibernate is annoying. There's already "restore_paused" option so the system wouldn't get suspended some time after mpd autostart in case you would implement some suspend/hibernate inhibitor mechanism in mpd. E.g. KTorrent has also this feature to supress sleep when torrents are running. Thank You.
Atronach
 
Posts: 1
Joined: August 3rd, 2013, 4:40 pm

Return to Developers' Corner

Who is online

Users browsing this forum: No registered users and 1 guest

cron