GNOME Bugzilla – Bug 381196
rhythmbox-client has no option to toggle shuffle/repeat
Last modified: 2012-12-08 07:43:51 UTC
It would be great if rhythmbox-client would have options to toggle shuffle/repeat like xmms does: -S, --toggle-shuffle[=OPTION] -R, --toggle-repeat[=OPTION] -A, --toggle-advance[=OPTION] (From xmms --help) Other information:
Seems sensible, confirming.
Alright, i'd like to implement this feature. Although i could use some help since i'm not that familiar with the RB-code nor with D-Bus. Anyone i can contact for some pointers via mail or IRC perhaps?
IRC: #rhythmbox on irc.gnome.org (depending on what time of day you ask, it can take several hours to get a response) or the mailing list: rhythmbox-devel@gnome.org (best if you subscribe first) The main thing involved in implementing this is adding dbus methods for getting and setting the repeat and shuffle settings. I don't think we should expose the concept of named play orders (linear, linear-loop, shuffle, random-by-*) here, because I don't think it's a good concept. These methods would be implemented using (or at least similarly to) rb_shell_player_get_playback_state and rb_shell_player_set_playback_state. The code in rhythmbox-client should be straightforward.
It seems like this was done in 96bc1972 so it can be closed. commit 96bc19725c88ed30238e6b29b0ea364e955b5ae3 Author: Darcy Bras da Silva <dardevelin.cidadecool.com> Date: Sun Sep 30 12:46:42 2012 +0100 add repeat, no-repeat, shuffle, no-shuffle to rhythmbox-client remote/dbus/rb-client.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-)
Indeed, thanks for pointing that out.