Festify / app

:tada: Festify Host & Client
https://festify.rocks/
416 stars 72 forks source link

Festify won't automatically move to the next track. #284

Closed Quinncuatro closed 5 years ago

Quinncuatro commented 5 years ago

I'm using Festify on my work computer and trying to use Spotify's built in "play on another device" feature to hit a different computer hooked up to a monitor in our group's area.

Every time a song finishes, I have to manually skip it, start the next track, then redirect my computer's Spotify client to point to the external one.

Am I doing something wrong?

NeoLegends commented 5 years ago

Hey!

You're not doing anything wrong. Festify currently can't cope with Spotify Connect playback. This lies in the fact that connect devices do not provide playback events. Instead, they need to be polled periodically which is rather unstable and we haven't come around to implementing that so far.

I'll close this in favor of #117. :)

Quinncuatro commented 5 years ago

@NeoLegends - Word! Moved the "admin" panel over to the machine playing the music. Web panel controlling a local (to that machine) Spotify client. I'll Let you know how it goes.

Quinncuatro commented 5 years ago

@NeoLegends - Didn't work.

What should I be doing if I want all of this to work on a separate machine?

Tried transferring the playback to the second machine. It said the next track was playing but I couldn't find a Spofity client I'm logged into that it was sending the track to play.

NeoLegends commented 5 years ago

If you can start up a browser on that second machine you should be fine. Festify parties can be remote-controlled in the sense that if you're logged in with the same account that was used to create a party on a different machine, you'll be able to control its playback.

Quinncuatro commented 5 years ago

I mean, that's what I did. Pulled up the admin panel in a browser on the second machine and used the Festify GUI to transfer playback to that machine. For whatever reason it can't pass the next song in the queue to the Spotify client on that same machine. Just seems to fall into the void.

NeoLegends commented 5 years ago

Argh. Maybe just fully reload both pages and try again, just by using the second machine (at least for starting playback). Perhaps its only the transfer that doesn't work.

Quinncuatro commented 5 years ago

Yeah, I'll give that a shot.

Quinncuatro commented 5 years ago

Yeah, this just seems borked on Ubuntu.

Restarted my party and the Spotify client. It shows songs as playing, but I can't find the songs playing on my laptop, the external computer, or my phone.

Quinncuatro commented 5 years ago

Any sort of diag data I can grab for you, @NeoLegends ?

Quinncuatro commented 5 years ago

Seems that I can start songs on my laptop and then pass playback to the second machine and it works just fine. But trying to keep playback, and moving to the next song in the queue, on the second machine is a non-starter.

NeoLegends commented 5 years ago

Hmm. Is there anything written to the browser console?

Quinncuatro commented 5 years ago

Honestly didn't have time to look. Trying to wrap things up at the end of the day. I'll dig into it tomorrow morning.

qdrop17 commented 2 years ago

Hi everyone. This issue is still open in my opinion. It's quite random but sometimes, the next song won't be played automatically. Only pressing "play" starts the playback. Do you know why this is the case?

leolabs commented 2 years ago

Hmm, that's strange. If you experience this issue again, could you send us a screenshot of the browser's console?

This issue in particular was related to using Spotify Connect, there's another one (#306) which might fit your situation better.

qdrop17 commented 2 years ago

Hmm, that's strange. If you experience this issue again, could you send us a screenshot of the browser's console?

This issue in particular was related to using Spotify Connect, there's another one (#306) which might fit your situation better.

Hi there. The browser console looks as follows: zHfKhiPV8e

The last request is something about Widevine but after that there's no GET Partial Content (Audiostream).

It seems there's no error in the code whatsoever as this console logged everything.

I hope this helps. I'm using the most recent Firefox (96.0.3).

leolabs commented 2 years ago

Hmm, I've done some more research and it seems like we're not the only ones having these kinds of issues. For example: https://github.com/spotify/web-playback-sdk/issues/80 – this has apparently been going on for quite some time without any fixes from Spotify.

I'll keep checking whether there's a solution to this.

leolabs commented 2 years ago

There are also some people on the Spotify forums that recommend using an older version of Chrome: https://community.spotify.com/t5/Spotify-for-Developers/Web-Player-stops-playing-and-player-state-changed-and/m-p/5183184

I don't think this is an optimal solution, though.