-
Notifications
You must be signed in to change notification settings - Fork 38
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
No device detected though installation went well #174
Comments
Hi, thanks for reporting. Can you please provide three things for me: The code tries to find the local device and checks if the spotify service matches the hostname of the machine. (The log makes me think you have a name matching the hostname) Regarding the edit 2: |
hi and thanks for the quick reply. in
Yes exactly. I went on spotify on my phone and it offered me to select the device so I selected |
The thing you describe here sounds a bit like raspotify is in discovery mode and not logged in. I'll see if I can replicate when I get home from work. |
Hi, looking at the I could not reproduce the issue here but I currently don't have a raspberry Pi to test on so I've tried to recreate the scenario as best as I can on my desktop. If a device with the same name as the mycroft unit was found it should have reported |
Thanks for taking the time to look at it. |
Yes, the mycroft-skills repo hasn't accepted the latest release yet so that sounds like the correct way to do it. Just make sure to pip install into the mycroft virtual environment using Before re-installing try to change the raspotify config file back to the original version. Also a good test is to ask |
I uninstalled raspotify and then reinstalled it.
Even though there was the When working, it says
After rebooting it stops working. I will install everything anew tomorrow and document the steps. In case I did something stupid along the way. I will let you know :) |
It sounds exactly like the username and password isn't set in the Raspotify config file so it's in discovery mode. When I get your description I'll try to dig up a Raspberry Pi and set it up according to your description (probably during the weekend). |
I get a
SpotifySkill | Unable to get a default device while trying to play something
.I followed the instructions and it went well (as far as I could tell).
I installed raspotify and saved my username and password in the configuration file along with the device name saved on mycroft.ai.
(note: the instructions say to edit
/etc/default/raspotify.conf
but by me, it was/etc/default/raspotify
)I did change
User
andGroup
topi
.I also executed the
auth.py
and gave the credentials from the Spotify Developper App page.Finally, I did add the credentials from my premium account on mycroft.ai.
Expected behavior
Music starts playing.
Log files
Environment (please complete the following information):
Additional context
According to the logs, it seems to correctly connect to spotify and find the music. I just don't know how to fix this default device problem, though it seems to find a
Device detected: DeviceType.DESKTOP
Edit
I ran
pactl list sinks short
and got the following output:Edit 2
I opened Spotify on my smartphone and it suggested my mycroft device with the proper name. I choose it and then I could use mycroft to play the music I wanted. On Reboot it stopped working again.
The text was updated successfully, but these errors were encountered: