Help! What is the command for other music players?

Asked by Jeff Beale on 2012-05-21

I am trying to get Banshee to play (instead of the default Rhythmbox command) but
bashee-client-play
does nothing. What is the command I need to get Banshee to play a playlist of songs?
Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Alarm Clock Edit question
Assignee:
No assignee Edit question
Last query:
2012-05-21
Last reply:
2012-05-22
Johannes H. Jensen (joh) said : #1

$ banshee --help-playback
Usage: banshee [options...] [files|URIs...]

Playback Control Options

  --next Play the next track, optionally restarting if the 'restart' value is set
  --previous Play the previous track, optionally restarting if the 'restart' value is set
  --restart-or-previous If the current song has been played longer than 4 seconds then restart it, otherwise the same as --previous
  --play-enqueued Automatically start playing any tracks enqueued on the command line
  --play Start playback
  --pause Pause playback
  --toggle-playing Toggle playback
  --stop Completely stop playback
  --stop-when-finished Enable or disable playback stopping after the currently playing track (value should be either 'true' or 'false')
  --set-volume=LEVEL Set the playback volume (0-100), prefix with +/- for relative values
  --set-position=POS Seek to a specific point (seconds, float)
  --set-rating=RATING Set the currently played track's rating (0 to 5)

Caleb Hearon (laleb) said : #2

You can also have Alarm Clock play the current Spotify song by using:

dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

Can you help with this problem?

Provide an answer of your own, or ask Jeff Beale for more information if necessary.

To post a message you must log in.