After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 128495 - session: save/restore browser state, selected source and playing song
session: save/restore browser state, selected source and playing song
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: general
3.4.x
Other other
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 76561 131116 169008 398063 398099 439235 626267 (view as bug list)
Depends on: 127320
Blocks:
 
 
Reported: 2003-12-04 09:17 UTC by Christoph Conrad
Modified: 2018-05-24 10:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python plugin for restoring the last played track (2.48 KB, application/x-compressed-tar)
2008-01-20 12:49 UTC, Florian Dorn
Details

Description Christoph Conrad 2003-12-04 09:17:56 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).
Comment 1 Colin Walters 2004-02-27 06:39:22 UTC
This is a pretty hard problem in general.

Restoring the search text is actually pretty easy, and that's done by:
walters@rhythmbox.org--2003/rhythmbox--mainline--0.7--patch-220

I also implemented restoring the selected source, with:
walters@rhythmbox.org--2003b/rhythmbox--mainline--0.7--patch-223

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
albums.

Restoring the playing song shouldn't be too bad; i'll try to do that next.
Comment 2 Colin Walters 2004-02-27 18:47:10 UTC
*** Bug 131116 has been marked as a duplicate of this bug. ***
Comment 3 Colin Walters 2004-09-07 20:08:41 UTC
Also on a more fundamental layer we need to integration with the session
manager, right now we don't really...
Comment 4 Loïc Minier 2004-10-26 15:36:11 UTC
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.
Comment 5 Loïc Minier 2004-10-26 15:40:15 UTC
This is Debian bug <http://bugs.debian.org/278241>.
Comment 6 Ilya Konstantinov 2004-12-17 13:15:20 UTC
Part of the saved session should be the "Show Window" toggle.
Comment 7 Sebastien Bacher 2005-06-04 23:09:50 UTC
*** Bug 169008 has been marked as a duplicate of this bug. ***
Comment 8 Lukas Sabota 2005-12-23 23:58:21 UTC
Any progress on this bug?  It's a rather annoying one that's been open for a while.
Comment 9 Alex Lancaster 2006-01-26 14:31:57 UTC
*** Bug 76561 has been marked as a duplicate of this bug. ***
Comment 10 Alex Lancaster 2006-02-06 09:19:38 UTC
Don't depend on a closed duplicate bug, switch to the open bug.
Comment 11 Alex Lancaster 2006-02-19 03:43:45 UTC
Nobody actively working on this.  Switch state to NEW.
Comment 12 Alex Lancaster 2007-01-21 13:53:49 UTC
*** Bug 398099 has been marked as a duplicate of this bug. ***
Comment 13 Alex Lancaster 2007-01-21 13:54:53 UTC
Bug #398099 was about saving/restoring the selected source after restart.
Comment 14 Alex Lancaster 2007-01-21 13:56:27 UTC
(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.

Comment 15 Alex Lancaster 2007-01-23 12:36:51 UTC
*** Bug 398063 has been marked as a duplicate of this bug. ***
Comment 16 Florian Dorn 2008-01-20 12:46:00 UTC
*** Bug 439235 has been marked as a duplicate of this bug. ***
Comment 17 Florian Dorn 2008-01-20 12:48:36 UTC
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.
Comment 18 Florian Dorn 2008-01-20 12:49:59 UTC
Created attachment 103255 [details]
Python plugin for restoring the last played track
Comment 19 Eric Piel 2009-05-05 13:28:45 UTC
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 ;-)
Comment 20 Florian Dorn 2009-05-05 14:32:54 UTC
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.

http://websvn.ibetyoudid.org/listing.php?repname=Rhythmbox+plugins&path=%2Frestore%2F#path_restore_



Comment 21 Jonathan Matthew 2010-08-10 05:33:08 UTC
*** Bug 626267 has been marked as a duplicate of this bug. ***
Comment 22 Owais Lone 2011-11-13 17:51:30 UTC
This plugin restores track, position, genre, artist and album.
I might add support for playlists too when I get time.

https://github.com/owais/remember-the-rhythm
Comment 23 Owais Lone 2011-11-14 16:25:03 UTC
Ok, playlists are done too :)
Comment 24 GNOME Infrastructure Team 2018-05-24 10:26:46 UTC
-- 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.