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 426162 - Ability to start playing from last played song
Ability to start playing from last played song
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 503545 540424 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-04-04 08:09 UTC by shirish agarwal
Modified: 2018-05-24 12:30 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Play last track after starting (1.56 KB, application/x-compressed-tar)
2009-11-29 16:30 UTC, Elrik
Details

Description shirish agarwal 2007-04-04 08:09:29 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.
Comment 1 Marc-Andre Lureau 2007-05-17 15:14:42 UTC
(moved to rhythmbox)
Comment 2 Jonathan Matthew 2008-11-22 11:32:46 UTC
*** Bug 540424 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Matthew 2008-11-22 11:34:06 UTC
*** Bug 503545 has been marked as a duplicate of this bug. ***
Comment 4 myxiplx 2009-05-01 17:24:55 UTC
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 :)
Comment 5 Errol 2009-08-13 07:05:45 UTC
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.
Comment 6 Elrik 2009-11-29 16:30:37 UTC
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.
Comment 7 Errol 2009-11-30 06:14:16 UTC
Elrik, so far, it works beautifully. Great work. Thanks heaps.
Comment 8 Errol 2009-12-07 10:56:36 UTC
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?
Comment 9 Elrik 2009-12-19 09:32:05 UTC
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.
Comment 10 Elrik 2012-03-12 09:59:29 UTC
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.
Comment 11 Errol 2012-03-12 10:24:23 UTC
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.
Comment 12 Robert Buchholz 2015-04-20 08:06:49 UTC
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.
Comment 13 GNOME Infrastructure Team 2018-05-24 12:30: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/355.