spotify-connect-web icon indicating copy to clipboard operation
spotify-connect-web copied to clipboard

Launching any application stops playback

Open Aragur opened this issue 7 years ago • 6 comments

Song is playing on my RaspberryPi. If I start my Android App and my Windows App isn't opened played track will stop immediately. Than it almost isn't possible to start a song agian via my RaspberryPi. If I select the device 2 seconds later it get's unselected. Also this happens a lot if I want to change the track. I have to click on the song and immediately exit the app. If I start the Windows app. RaspberryPi playback also get's stopped. But casting a song works fine.

Using 0.0.3 of spotify web connect. Newest Android Version (newest Beta because Official wasn't playing any song at all on my RaspberryPi) Latest Version of Spotify on Windows.

Aragur avatar Jun 05 '17 17:06 Aragur

Try to install with docker. The installer build is very old.

alex171 avatar Jul 04 '17 22:07 alex171

@kunterbunth i tried installing it with docker But it keeps failing at step 8 Command output: https://pastebin.com/zwvYAG0A

Aragur avatar Jul 05 '17 13:07 Aragur

Would you look at my pull request? I updated the docker file because I got the same error messages. A dependency was/is missing.

alex171 avatar Jul 05 '17 13:07 alex171

okay thanks now it works But how to start it? ~/run-with-docker is not working. returns no such file or directory

Aragur avatar Jul 05 '17 14:07 Aragur

You need to locate the run-with-docker file and execute it from there. ~/ just means run xyz from the home directory. Should be more like ~/spotify-connect-whatever/run-with-docker if you put the master directory from github in your home directory

alex171 avatar Jul 06 '17 17:07 alex171

I'm experiencing similar issues. Everything worked fine until fairly recently. Now if I start playing from the iPhone Spotify app, switch to another app, and switch back, playback stops and Spotify moves the playback device to my iPhone (I see a kSpPlaybackNotifyBecameInactive has been sent to spotify-connect-web). This doesn't happen if I'm e.g. connected to the laptop or some other device. In fact, at this point, even clicking on the device at the bottom of the screen immediately stops playback.

I have to wonder if the libspotify_embedded_shared.so library we're using is interacting correctly with the Spotify servers or if there's some incompatibility (since they aren't updating it but haven't replaced it either).

Update. I just tried out librespot on the same Pi and it's working perfectly.

tenortim avatar Aug 10 '17 19:08 tenortim