GNOME Bugzilla – Bug 426162
Ability to start playing from last played song
Last modified: 2018-05-24 12:30:46 UTC
Hi there, It would be cool if Rythmbox would start playing from the last song it ended on. Right now, I have to always choose which song should I play and becomes an annoyance once there are more than 100 odd songs.
(moved to rhythmbox)
*** Bug 540424 has been marked as a duplicate of this bug. ***
*** Bug 503545 has been marked as a duplicate of this bug. ***
I agree this would be great to have. I'm hooked on RhythmBox and last.fm, and have RhythmBox launching automatically on startup. I don't even mind if it doesn't start playback, just so long as the last song is selected. With RhythmBox loading at startup like that, I can just use the play / pause buttons on my keyboard to carry on listening whenever I want :)
Totally agree. I've recently switched from Windows, using Winamp, which does this. It saves a heap of time when starting up each day, not having to find the spot (in 2,500) where I last left off. I'd try adding it myself, but I'm still a Linux virgin.
Created attachment 148697 [details] Play last track after starting Here a plugin to start (if possible) with last URI track when you start rhythmbox. It's very alpha code ! To test it, untar the tarball in $HOME/.gnome2/rhythmbox/plugins/ and activate "Play last track" plugin.
Elrik, so far, it works beautifully. Great work. Thanks heaps.
Elrik, every now and then it decides not to work. I'll run it for a few songs, then close it down. When I open it up again, it's forgotten where it last left off. Haven't got a handle yet on the conditions under which it does this. I need to understand how it works, but I know nothing of python. Can you tell me where you are storing the last track info? I see there are print statements in lasttrack.py, but can work out where they are being sent. How can I get the plugin to tell me what's going on?
Errol, run RB with the debug option : rhythmbox -D lasttrack The last track played is recorded in gconf, use gconf-editor to see it. For now lasttrack plays music only if you display the RB main window.
This plugin does not work anymore with the gtk3/dconf framework. Is there something to save the current song after restarting or must I rewrite my small plugin ? Thanks.
Thanks for the offer Elrik, but yes, there are a couple of plugins available now. Remember-The-Rhythm - https://github.com/owais/remember-the-rhythm Resume On Restart - http://people.ksp.sk/~mic/Projects/RhythmboxROR I haven't tried the former, but the latter works fine.
I agree this functionality should be moved into the product instead of being some plug-in on github that breaks with the next gnome update at the latest.
-- 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/355.