-
Notifications
You must be signed in to change notification settings - Fork 237
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
Error opening source from spotify #1803
Comments
I’m currently having exactly the same problem. sample error from the logs:
And yet startup works fine:
|
Yes, looks like Spotify has made a change, possibly deprecating the interface OwnTone was using. It looks like librespot is also affected (see their issue 1322), but that they have a fix in their dev branch. I will have to port that fix to OwnTone. If it's a major protocol change it might take some time, so I'm hoping Spotify at least temporarily rolls the change back. I imagine their change affects a lot more than just OwnTone. |
Playing tracks from spotify within Owntone is working again (without changing anything). |
Thanks for the update, that's good to hear. I guess they rolled back. The question is for how long. They never announced anything, and it was just one request in the old protocol that was broken, so I'm thinking it might actually have been a mistake on their side. Maybe being too optimistic :-) I'll keep this issue open for a while, and also prioritize work on the new protocol. |
Awesome! Thank you @ejurgensen & @beaudett |
I am sorry to say that the problem is back with the same errors in the log |
Bummer, I would have hoped that they kept it working for longer. I will reopen. |
Do you guys listen to specific tracks? I can't reproduce the problem. Maybe I don't have the same version of Spotify from where I live. |
For me it's also pretty wierd - sometimes i want to play sth from spotify - eg search works fine, stored playlists are shown, but when i click on a song, it doesnt do anything - also no entry in log. If I refresh web UI, it loads half of it, but with error in JS console:
The only solution is to restart the server (since i'm running it with docker compose, i just restart it). Is there anything else where I can take a look (like logs or sth)? In owntone log file there's nothing. |
The problem has reappeared when I tried to play a podcast through spotify. Then I tried with one of the tracks of the same album as two weeks ago and got the same error. I will test tonight with random spotify tracks and let you know. In case the location is important, I am living in France. |
I don't think there is any reason to test with specific tracks, it is more likely that it depends on the Spotify access point being used. When they roll out changes they deploy them gradually across access points. I am listening to Spotify right now with OwnTone, so there is one that works, but I can produce errors from others. As I recall, OwnTone will try an access point, and if it fails try another one. If that fails too it will give up and you will see an error. @alesrosina the errors you observe seem unrelated to this. |
Sometimes I do get an entry in log, eg:
But that's fine, this song is just not shown in UI and I cannot play it. For me bigger issue is above mentioned error, which from my point of view suggest, that probably spotify implementation crashes and this is somehow not handeled in the code. But I cannot debug it. |
I think it's related, since it's connected to spotify - and it also happens randomly. There are weeks that this works without issues and then there are some days, where this happens. And always only for spotify tracks. So my guess here is, that there is some exception handling missing and spotify thing is crashing. But if you think it's not related, i can open another issue. |
@alesrosina what does OwnTone's log say when it fails to start playback? If it says "Error opening source: Cannot connect to access point..." then it's related. If not, then please open another issue. |
@beaudett do you still experience this? It's been working fine for me the last few days. I did start working on the new protocol, though. |
Hi @ejurgensen |
Ok, I will close the issue for now, let's see for how long |
Hi,
I am currently unable to play any track from spotify with owntone Version 28.9 running on RPi 4 with bullseye.
In the web interface, the search in spotify works. On a restart, the spotify playlists are correctly read and appear in the library. When it comes to play the tracks that I get an error. On the web interface, it appears as follows.
In the log file I see such errors:
A longer part of the logfile can be found here
I am wondering if it can be a temporary problem on the spotify side ?
Thanks
Florian
The text was updated successfully, but these errors were encountered: