GNOME Bugzilla – Bug 128495
session: save/restore browser state, selected source and playing song
Last modified: 2018-05-24 10:26:46 UTC
would be nice when rhythmbox would save the current session when exiting
the programm and restore it when starting. this would include restoring the
search expression and the selection of music which is based on the search,
the currently playing music and optionally the time at which the music
piece was played (for restoring the position, if possible).
This is a pretty hard problem in general.
Restoring the search text is actually pretty easy, and that's done by:
I also implemented restoring the selected source, with:
Restoring the genre/artist/album is the hardest. It would require
waiting until everything is restored from rhythmdb.xml, then restoring
the genres, waiting until that query is done, then restoring the
artists, waiting until that query is done, then finally restoring the
Restoring the playing song shouldn't be too bad; i'll try to do that next.
*** Bug 131116 has been marked as a duplicate of this bug. ***
Also on a more fundamental layer we need to integration with the session
manager, right now we don't really...
I tend to disagree on restoring the search text: because the albums and artists
are not hidden despite no matching titles, it is confusing not to find your
music because the search you entered x hours or y days ago is still there.
I think you can always create a playlist with your search and continue playing
in there when rhythmbox starts again. It would be nice to have a preference to
choose wether rhythmbox should continue playing where it stopped if the user
wants that behavior, but I wouldn't want that.
FYI, iTunes clears the search and doesn't resume playback when restarted.
This is Debian bug <http://bugs.debian.org/278241>.
Part of the saved session should be the "Show Window" toggle.
*** Bug 169008 has been marked as a duplicate of this bug. ***
Any progress on this bug? It's a rather annoying one that's been open for a while.
*** Bug 76561 has been marked as a duplicate of this bug. ***
Don't depend on a closed duplicate bug, switch to the open bug.
Nobody actively working on this. Switch state to NEW.
*** Bug 398099 has been marked as a duplicate of this bug. ***
Bug #398099 was about saving/restoring the selected source after restart.
(In reply to comment #13)
> Bug #398099 was about saving/restoring the selected source after restart.
In fact there was a very old patch (see comment #1) that did this, but seems to have never been applied. It probably would not work anymore.
*** Bug 398063 has been marked as a duplicate of this bug. ***
*** Bug 439235 has been marked as a duplicate of this bug. ***
For those interested in this bug, i have created a python-plugin witch tracks song-changes and restores the last played song on start-up.
Created attachment 103255 [details]
Python plugin for restoring the last played track
Hei Florian, it's a great plugin. So useful.
However, for now it restores the song from the general database. It would be great if it could also save which playlist was selected, or the Artist/Album if the Music field is selected.
A second useful feature (although not so much for me) would be to restore exactly at the time in the song that Rhythmbox was stopped. People listing to long podcasts in Rhythmbox are all dreaming of this ;-)
I have not updated this bug, however updated the plug-in in my svn repository. It does not restore the selected playlist or the Artist/Album search, but does restore the position in the track.
*** Bug 626267 has been marked as a duplicate of this bug. ***
This plugin restores track, position, genre, artist and album.
I might add support for playlists too when I get time.
Ok, playlists are done too :)
-- GitLab Migration Automatic Message --
This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/20.