Closed lawrence-laz closed 3 years ago
Yup, this works, thank you!
For anyone interested in similar functionality this is how to do it with playerctl
:
playerctl --player=ncspot open https://open.spotify.com/user/l.lazauskas/playlist/6K8iu84BUlf4ejOGmvDVmS
You can get URL by sharing song/artist/etc.
I'm building a voice-controlled personal assistant and would like to use
ncspot
to play spotify on command.I would like to be able to start
ncspot
with some additional parameters, so that the music would start right away, ex.ncspot --playlist MyPlaylist
, or similar.I looked into
ncspot -h
for available parameters, but didn't see anything that could help with this. Maybe there are other ways to invoke commands on an already running instance ofncspot
from another process?