Replies: 8 comments 11 replies
-
OK, I spoke too soon. I tried playing something with this media player and am getting this error:
And yet, the credentials are there and with the same name as shown in the configured service: I then found this similar issue here: #45 On my HA instance I have installed the SpotifyPlus integration as you can read in this thread as well as the Spotify Connect (unofficial) add-on from here: https://github.com/giannello/addon-spotify-connect SpotifyPlus is giving the above error when trying to play music via the media browser. HOWEVER, if I open spotify on my android phone, I can perfectly well connect to Spotify Connect (unofficial) on my HA instance and the mini media player card shows it as playing: I can even control playback, skip, control volume, transfer playback to my phone but as soon as I try transferring playback back to my HA instance with the Spotify Connect (unofficial) add-on I get this error mentioned above. I manually checked via SSH and /config/.storage does not even contain any Spotify related folders. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
My apologies for starting a discussion instead of an issue :-( Should I open a new one? Meanwhile, let me add the info you would need for an issue. I will supply the debug logs in a minute, need to ernable, gather and submit them ehre. `## System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Spotify
SpotifyPlus
|
Beta Was this translation helpful? Give feedback.
-
I would like to give you logs but after I enabled debug logging, restarted HA, triggered the problem and downloaded the full logs, the ZIP file is 67MB should I really attach that here? Btw. I can't figure out how/where to fidn the diagnostics you are asking for this integration, woudl you mind giving me a hint? This page didn't help: https://www.home-assistant.io/integrations/diagnostics/ |
Beta Was this translation helpful? Give feedback.
-
@ovizii Thanks for your patience while I sort thru this issue. You are the first user to utilize the Spotify Connect AddOn. I have Spotify Connect AddOn installed, but I run it in "dummy mode" since I don't have a soundcard on my VM. I put together some documentation on how to enable Spotify Connect devices with SpotifyPlus. In summary, it utilizes the librespot-auth application to generate a librespot It may sound a little complicated, but give the docs a read and let me know how it goes. I was able to follow the steps and create the credentials file - the hardest part was building the |
Beta Was this translation helpful? Give feedback.
-
Also note that this whole process is a one time thing to generate a Librespot credentials.json file. Once you have the credentials.json file, you don’t need to run Librespot-auth again (unless your Spotify password changes). |
Beta Was this translation helpful? Give feedback.
-
Thanks, I figured out, since its a one-time use, the selected name doesn't matter as it will not be saved with those credentials :-) I have now copied the credentials file to where it belongs, restarted HA and tested. It seems I can now fulyl control spotify with teh Spotify Plus integration, switch to different sources, play, stop, skip, etc. Now let see if I can set up autoamtions to wake up to music and stop playing music after a certain time when goign to bed. I really appreciate all the help you have given me and making this awesome integration. Btw. Thanks for the tip to use the windows spotify app. I was going nuts trying to use the mobile app, despite being on the same network as the edevice I was running librespot-auth on. |
Beta Was this translation helpful? Give feedback.
-
@ovizii Thanks - Todd |
Beta Was this translation helpful? Give feedback.
-
I isntalled your itnegration and rebooted HA. I then followed these instructions: https://github.com/thlucas1/homeassistantcomponent_spotifyplus/wiki/Device-Configuration-Options
Not sure where I might have made a msitake but after configuring the "Integration Options" I see a notification that SpotifyPlus was discovered?
So I click on configure, get sent here:
I agree and link my account again. Then I now see two SpotifyPlus services !?
I then deleted the second one but it gets discovered again :-(
If I delete the first one it looks like this:
I now decided to restart HA. Now I only see one service and everything seems fine.
Beta Was this translation helpful? Give feedback.
All reactions