Bug 173904 - Playlist not restored after crash or kill
Summary: Playlist not restored after crash or kill
Status: RESOLVED DUPLICATE of bug 170506
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.3-GIT
Platform: openSUSE Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 193764 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-30 16:09 UTC by Tristan Miller
Modified: 2010-02-18 22:40 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2008-10-30 16:09:12 UTC
Version:            (using KDE 4.1.2)
Installed from:    SuSE RPMs

Amarok normally saves the current playlist and restores it when the program is reloaded.  However, it saves only when using the Quit command.  If Amarok is killed (such as when KDE shuts down) or crashes, the playlist is not saved; the next time Amarok starts it will load the playlist from the last time the program was properly shutdown.

To fix this bug, please autosave the playlist periodically, and probably also upon receiving a kill signal.
Comment 1 alexander whittley 2008-10-30 19:00:59 UTC
If Amarok is not responding, it might be a bad idea to save whatever is going on within the application and load that next time the application starts. Autosaving the playlist periodically seems like a waste of time, since the playlist will most likely have been changed before the crash unless the refresh rate of the backup is quick, in which case you're just wasting cpu cycles. Might be another solution though, not sure.
Comment 2 Mark Kretschmann 2008-11-09 13:24:54 UTC
This is not a bug, but more a wish. It currently works like this by design, for performance reasons.
Comment 3 Jan Hajer 2009-08-03 10:01:08 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Mikko C. 2009-08-03 11:51:17 UTC
*** Bug 193764 has been marked as a duplicate of this bug. ***
Comment 5 Kolja 2009-08-03 12:01:53 UTC
why is this a wish?

If I logout from my desktop the application schoul normaly close, like click on on "quit" or? Is there any reason why amarok handles this in a different way then other applications?
Comment 6 Mikko C. 2009-08-03 12:07:59 UTC
For me, Amarok closes correctly when logging out of KDE, so it saves the playlist.
If it doesn't for you, then it's probably crashing on exit, for which you should file another bug.
Comment 7 Frédéric COIFFIER 2009-10-02 14:05:32 UTC
Is it possible that KDE kills applications which take too much time to shutdown ?

I believed it was the problem with Amarok 1.x and KDE 3 : Amarok took lots of time to save its playlist and KDE killed it before it has finished.
Comment 8 Kevin Funk 2010-02-18 19:01:20 UTC

*** This bug has been marked as a duplicate of bug 226829 ***
Comment 9 Kevin Funk 2010-02-18 22:40:17 UTC

*** This bug has been marked as a duplicate of bug 170506 ***