hnarayanan / shpotify

A command-line interface to Spotify.
https://harishnarayanan.org/projects/
2.01k stars 153 forks source link

spotify status starts spotify when not needed #114

Open gp42 opened 5 years ago

gp42 commented 5 years ago

Currently shpotify autostarts Spotify.app if it is not running - on any command. This behaviour is not desirable for my use case - i am trying to run shpotify in tmux command line to get current song playing.

Add ability to silently quit if Spotify is not running.

hnarayanan commented 5 years ago

I am not sure I understand (especially as I am not a tmux user). How else can I find out about Spotify’s status if it is not started?

redradrat commented 5 years ago

The status should just be 'Spotify is currently not running.' right? That would be the correct status.

https://github.com/hnarayanan/shpotify/pull/117

zbsfm commented 4 years ago

i'm also having this issue. i run spotify as a daemon with spotifyd - therefore i can stream spotify without the actual gui app open.

i would like to be able to control spotifyd with shpotify. is this possible? currently, on any command, it unnecessarily opens the gui app.

i'd be happy to look into fixing this if you point me in the right direction. thanks a lot!