aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
2.95k stars 132 forks source link

Player device disappears if music is paused #438

Closed mrfatboy closed 2 months ago

mrfatboy commented 2 months ago

I started a new thread because I didn't want to hijack Wally's issue and confuse everything.

My system is a Mac mini 2012 Ubuntu 22.04

I have installed Spotify-player per the documentation. I compiled per the docs.

When I run Spotify_player I can not see my chromecast device unless I start up the official Spotify app and start playing a song and selecting my chromecast. Once it is selected the device shows up in Spotify_player.

Now if I pause the music, after some time Spotify_player looses my chromecast device. I'm unable to get the device back unless I use the official Spotify client and start streaming to my chromecast device.

Now to add, if I reboot my system and start Spotify_player my chromecast is not there.

Is this a bug or limitation? If it's a limitation it seems that there is no way to select or find my default chromecast device.

Suggestions?

aome510 commented 2 months ago

This is a limitation of spotify get-devices API that doesn't include chromecast device if not active: https://github.com/spotify/web-api/issues/834

Related: