Version: 1.4.7-0ubuntu3 (using KDE KDE 3.5.7) Installed from: Ubuntu Packages OS: Linux When I perform a hibernate/resume on my machine I think it would be nice to have the option of Amarok NOT resuming even if it was playing at the time of the hibernate; if you just quickly hibernate a laptop and then open it somewhere like a library it could be embarrassing! I added this bug originally as Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/139353 which I'll link to this report.
Sorry but I don't know of any way to detect a hibernation. I think you should simply stop playback before hibernating.
Hi Mark, I still think this would be a nice to have piece of functionality; if however there is no current way for apps to detect a hibernation about to happen then that sounds like it needs something filing somewhere else - any idea where? I can't believe this is the only thing which would be nice to do before hibernation. Dave
suspend2 or tuxonice, as it is known now, has hibernation scripts. you probably could easily add a dcop call to pause amarok before suspending. see http://www.tuxonice.net/
Moving to powerdevil as this should be done system-wide and not in a single player after a discussion on IRC. [20:50:06] <apachelogger> Nightrose: how about that: powerdevil gets a setting to pause playback on hibernation ... if it is set powerdevil does a dbus call to the mpris interface ... hopefully mpris somehow implements the case where multiple players are running and all of them are paused [20:51:07] <Nightrose> sounds good [20:51:34] <apachelogger> Nightrose: even if the mpris spec doesn't consider this case powerdevil could still pause the player which obtains lock on the mpris interface [20:51:47] <Nightrose> *nod* [20:51:56] <Nightrose> should be good enough in nearly all cases for reference: http://wiki.xmms2.xmms.se:80/wiki/MPRIS#D-Bus
Ok, adding this to 4.3 feature list
*** Bug 186086 has been marked as a duplicate of this bug. ***
As now the Power Management system offers a resume signal, it's up to Amarok devs to implement this feature if they want to
Removing from the "D-Bus interfaces" component, as it is not about an interface Amarok exposes.
Already implemented, thank to Anmol Ahuja. *** This bug has been marked as a duplicate of bug 222571 ***