Open shillshocked opened 5 years ago
This just loads up a playlist:
dbus-send --print-reply --session --type=method_call --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer 2.Player.Pause && dbus-send --print-reply --session --type=method_call --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.P layer.OpenUri "string:{\"context_uri\":\"spotify:user:spotify:playlist:37i9dQZF1DXcXBWjiVEM8R\",\"offset\":{\"uri\":\"spotify:track:6vQ0VbsRRFOYVmjAMM8c2a\"}, \"position_ms\":0}"
I want it to play a track in the playlist at a certain offset. Is this possible? What is the syntax?
i am always getting:
$ qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.CanSeek false
so i guess seek is not supposed to work unfortunately :(
This just loads up a playlist:
dbus-send --print-reply --session --type=method_call --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer 2.Player.Pause && dbus-send --print-reply --session --type=method_call --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.P layer.OpenUri "string:{\"context_uri\":\"spotify:user:spotify:playlist:37i9dQZF1DXcXBWjiVEM8R\",\"offset\":{\"uri\":\"spotify:track:6vQ0VbsRRFOYVmjAMM8c2a\"}, \"position_ms\":0}"
I want it to play a track in the playlist at a certain offset. Is this possible? What is the syntax?