Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching any application stops playback #130

Open
Aragur opened this issue Jun 5, 2017 · 6 comments
Open

Launching any application stops playback #130

Aragur opened this issue Jun 5, 2017 · 6 comments

Comments

@Aragur
Copy link

Aragur commented Jun 5, 2017

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.

@alex171
Copy link
Contributor

alex171 commented Jul 4, 2017

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

@Aragur
Copy link
Author

Aragur commented Jul 5, 2017

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

@alex171
Copy link
Contributor

alex171 commented Jul 5, 2017

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

@Aragur
Copy link
Author

Aragur commented Jul 5, 2017

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

@alex171
Copy link
Contributor

alex171 commented Jul 6, 2017

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

@tenortim
Copy link

tenortim commented Aug 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants