Play music from command line

Bug #395967 reported by Roanoke
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rhythmbox
Expired
Wishlist
rhythmbox (Ubuntu)
Triaged
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

I suggest adding a feature to play music from the CLI. Here are some example commands and their intended results:
rhythmbox-client --play "search-string" <--- all results for general search
rhythmbox-client --play-artist "artist" <-- Results of search for artist
rhythmbox-client --play-album "album" <-- Results of search for album
rhythmbox-client --play "search string" --first 5 <--- first five tracks
rhythmbox-client --play "search string" --last 5 <--- last five tracks
rhythmbox-client --playlist "playlist" <-- playlist
This could be integrated with an alarm app to play music at a given time.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?

 This will help us to find and resolve the problem.

Changed in rhythmbox (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Roanoke (alyosha-be-deactivatedaccount) wrote :

Wait, aren't feature suggestions and bugs placed in the same tracker? If not, I'm really sorry (this is a feature suggestion).

Revision history for this message
Sebastien Bacher (seb128) wrote :

you didn't really wrote a clear or understandable english description of your issue or suggestion

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is an upstream one and it would be nice if somebody who cares about that could send the request the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in rhythmbox (Ubuntu):
status: Incomplete → New
Revision history for this message
Roanoke (alyosha-be-deactivatedaccount) wrote :

So should I just add it to http://bugzilla.gnome.org/ ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

right

Revision history for this message
Roanoke (alyosha-be-deactivatedaccount) wrote :
Revision history for this message
Roanoke (alyosha-be-deactivatedaccount) wrote :
Changed in rhythmbox (Ubuntu):
status: New → Triaged
Changed in rhythmbox:
importance: Undecided → Unknown
status: New → Unknown
Changed in rhythmbox:
status: Unknown → Invalid
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Reassigning upstream bug since it was marked as a duplicate.

Changed in rhythmbox:
status: Invalid → Unknown
Changed in rhythmbox:
status: Unknown → New
Changed in rhythmbox:
importance: Unknown → Wishlist
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

Changed in rhythmbox:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.