[solved] bash play spotify playlist

General discussion about RuneAudio. Do not post any support or feature requests here.

[solved] bash play spotify playlist

Postby tatoosh » 10 Feb 2015, 16:24

I want to implement a lirc function:

switch to spotify (spop) and play a playlist "favorites".
I know about mpc like
Code: Select all
curl http://127.0.0.1/command/?cmd=play

, but how to switch so spop on console and use the spop commands from https://github.com/Schnouki/spop

Thx, Tatoosh
Last edited by tatoosh on 10 Feb 2015, 16:56, edited 1 time in total.
tatoosh
 
Posts: 50
Joined: 12 Jan 2015, 12:18

Re: bash play spotify playlist

Postby tatoosh » 10 Feb 2015, 16:32

I searched the php code and found a first solution:
Code: Select all
curl http://127.0.0.1/command/?switchplayer=Spotify
curl http://127.0.0.1/command/?cmd=play 3


or connect to terminal 6602 and fire the spop cmds.
tatoosh
 
Posts: 50
Joined: 12 Jan 2015, 12:18

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: No registered users and 7 guests