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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/395967

Title:
  Play music from command line

To manage notifications about this bug go to:
https://bugs.launchpad.net/rhythmbox/+bug/395967/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to