forslund / spotify-skill

Mycroft Skill to control spotify using the Spotify Connect API
Apache License 2.0
71 stars 38 forks source link

Mycroft controls spotify on other devices, but not itself. #99

Closed JaredTRand closed 5 years ago

JaredTRand commented 5 years ago

Similarly to this question: https://github.com/forslund/spotify-skill/issues/29 I could not get mycroft to play anything by itself, even with raspotify installed. It just keeps telling me there are no spotify devices available. I'm wondering if I missed a step between installing raspotify and playing it through mycroft.

Thanks for any help!

forslund commented 5 years ago

Hi, which platform is this on?

arraylabs commented 5 years ago

I'm seeing this on rpi3+ raspbian buster, mycroft git clone installation method

AlfieJones commented 5 years ago

I'm also experiencing this problem on the pi 4, I'll ask to play a song and it will start playing on another spotify device instead of the mycroft.

forslund commented 5 years ago

The skill doesn't handle playback, on the mark-1 the skill will launch a player. on Picroft this is not handled automatically.

Is raspotify installed and setup with username, password set? Is the name set to the same name as the mycroft device?

AlfieJones commented 5 years ago

Thanks for the quick response, I didn't realise playback wasn't handled by this skill. Just after posting my first comment I installed raspotify and have since got it working. Thanks again

forslund commented 5 years ago

Great, I'm looking at using the old libspotify to handle playback in the skill but that's it's own can of worms.

I should add a Picroft entry in the readme to make this clear. putting it on my Todo

JaredTRand commented 5 years ago

Oh I'm so sorry! I forgot I opened this issue, I need to pay more attention to this stuff. But yeah, I'm running picroft on raspi 3b+. I'll try double checking the username and password stuff and see if I can work it out.

One question I had was, should the NAME be the name of the physical raspi or the name I chose on the mycroft website? I just assumed it was the latter.

JaredTRand commented 5 years ago

I knew I did something dumb! I forgot to uncomment the parts of the configuration file that I needed. Seems to be working fine now! Sorry for what was basically a non-issue

forslund commented 5 years ago

Glad you figured it out!