Closed theCalcaholic closed 2 years ago
I haven't been able to reproduce it. The 502 error may indicate an issue on the spotify api. is it still an issue? It may be that the device id was changed and the cached device id caused the issue?
I will also look into the error report because it seems to hit the wrong one.
Edit: will also try spocon since I've only used the rust version of librespot in case there is some specific issues with it.
Just to make sure I correctly understand what's going on: I interpret the issue as the SpotifySkill not being able to retrieve information from the spotify API. Is that correct? Because, in that case, I don't see how it could be relevant which (connect) device is being used for playback
But I'll test later with my phone as playback device as well as librespot
I'm not quite sure of that. It seems to me like it's trying to play the artist. The text in the debug message is a bit misleading since the actual exception error seems to be missing from the text. It looks like it tries to start the playback but fails to a 502 error. The extraction of data doesn't hit the api at this stage.
Can you give me an example of an artist that fails for you. Also can you try to change L1071 of init.py to self.log.execption
instead of self.log.error
to provide more details.
Actually... It just works now :eyes: So you might be right, that it was related to caching the wron client id or something. Thank you and sorry for the work it caused
Glad it works now. Let me know if it happens again. If it is common we need to adress it somehow
I have set up the skill according to the instructions in the readme. Furthermore, I have setup SpoCon as Spotify Connect client on the device. I can verify that it worked, by checking for the available devices ('what spotify devices are available'), which gives me the expected device list.
However, when I try to play anything, I get an error "Unable to obtain the name, artist, and/or URI information while asked to play something. User info has been set but Auth failed". Surprisingly, it actually starts the playback, though.
Here is the complete output:
and the error message as spoken by Mycroft: "Unable to authorize with the Spotify service. Please go to Skill settings at home dot mycroft dot ai to verify your username and pasword and connect to spotify."