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
Doesn't work with family premium? #53
Comments
|
Also would be helpful to know if it can connect to spotify and doesn't get any devices or if it can't connect to spotify. |
|
(I checked settings.json and the correct username and password are written there) |
|
Doesn't look like anything comes back on devices |
|
okay, for some reason I had to remove all devices from my account, and when I reconnected, I have access through the mycroft integration. At the moment this does not show any spotify-connect players (sonos or bluetooth) but does show my laptop. Still can't see the picroft itself (but it doesn't show up when I manually curl the endpoint either) |
|
(funnily enough, I can PLAY to picroft from my computer or phone because it shows up in my spotify connect devices there) -- there seems to be something weird about the spotify connect devices showing up. I may try creating a regular premium account just to debug and see if the family account is the weirdness |
|
Hi thanks for looking into this. I've not tested with a family account, I assumed it worked like the normal Premium account. I'd very much like to hear what you find out and will try my best to help getting you up and running. The skill should warn that there is a problem with authentication when listing devices. |
|
no problem with authentication, it was just returning an empty array for devices (ended up just hitting the endpoint myself) - so all seems to be working fine on your end. I think mostly there's no bugs here
Possible two separate issues:
|
|
The issue of picroft not detecting itself is very strange and I have no good answer. I'll have to look into the code a bit and see if there's something weird. On picroft the raspotify repo isn't in the repository list which causes the issue you saw. I'm considering switching the client to spotifyd which has a single-binary distribution which can be gotten using curl/wget. I'll make a note to add the raspotify repo on the picroft image in the meantime. I think sonos/chromecast can be supported if I can figure out the auth protocol for the spotify discovery system. I can detect spotify devices/chromecasts but I'm not quite sure how to send over the auth yet. |
|
raspotify also has a nice curl install script that takes care of everything for you, check their repo. sonos devices are pretty easy to find, i've done it manually and in python and ruby, commands are a bit wonky though. I'd def use soco or an already existing wrapper if you go this way. Essentially you'd just also get the list of groups of soco and add them to the spotify device list, and then whatever spotifyid you were passing for a playlist or track (or otherwise) you'd proxy through soco to play on the selected sonos group. |
|
I having the same issue but at the moment but I am not sure if it could be because by the internet connection here. Running an picroft image with stable rls on a Rpi3B+. Using spotify-Family too. |
|
Saturday I try again this skill with my family account but on this config:
The solution for me was to remove all devices from my account like @estiens did and I need to setup my credentials on raspotify. The problem was that I was not able to let the skill play something when there was no spotify device with my acc online. |
|
I am also having this same problem, (on rpi3 B) |
Good to know that we are not alone. Can you tell us exactly what was your solution to fix this? |
|
I removed all devices, ran the raspotify curl install script on the pi with Mycroft on, altered the config for it to set a memorable device name an put in my username and password. In the skill preferences I put in the raspotify device name. I then restarted the pi and I was then able to play music through Spotify using voice commands. When asking for devices it lists the name of the raspotify device. |
I have a premium family account and have had no problems seeing all my devices on the rpi4 B. Idk but maybe this helps to pinpoint the problem a bit.. |
|
I'm having the same issue of Mycroft not finding itself as a device. If I asked what devices area available it says there are none. If I open Spotify on my desktop PC it sees that and plays there. |
|
EDIT: (complete 180 I wasn't close enough to the system to realize the reality) I can confirm this ticket. I have a premium family account, setup as follows:
When I setup Mycroft, I used the By default it plays on the only other device available. -- |
|
Thanks for confirming that the family premium works. Will be closing this issue. Reply to NOTE: |
|
Thanks. Please ref the docs for how to configure a Linux device as a valid/recognized spotify device for Mycroft? |
|
It's probably not explicitly stated. I'll make a note to update the readme |
|
still not working for me same issue as the people above |
|
I've been experiencing similar behavior intermittently. I also have a family account. Usually voice control of spotify with Picroft works without issue. Occasionally though, when I request a song, it responds with "No spotify devices available" and this error in the CLI i still see and can use my Raspotify device from a phone or laptop, but for whatever reason Picroft isnt recognizing it. Restarting raspotify.service (though it never seems to actually fail) fixes the issue, but it eventually comes back. Im not sure what people are referring to when they say they "remove all devices" from their accounts, I dont see this option when I sign in to my family account. |
I have a family premium account (which is basically premium, but shared among multiple accounts)
I did the oauth, worked fine, and when I log into spotify, I see spotify-skills in my apps
However, when I say "list spotify devices" it always says "No spotify devices available"
The text was updated successfully, but these errors were encountered: