Comment 10 for bug 395967

Revision history for this message
aaron-bru (aaron-bru) wrote :

As a workaround for playlists, I put this together for my startup:

#!/bin/sh
rhythmbox-client
sleep 10
listid=`dbus-send --type=method_call --print-reply --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Playlists.GetPlaylists uint32:3 uint32:1 string:Alphabetical boolean:false | grep -o /.*0x[^\"]*`
dbus-send --type=method_call --print-reply --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Playlists.ActivatePlaylist objpath:$listid

You can replace “uint32:3″ with the number (alphabetical) of the playlist you want. this could be impoved to select by name as well