Summary: | Amarok: Ability to pause on resume | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Dave Gilbert <gilbertd+kde> |
Component: | Playback | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | amarok-bugs-dist, drf, matej, seahen123, sridhar+bugs, stuffcorpse |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Dave Gilbert
2007-10-02 01:45:21 UTC
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 *** |