forslund / spotify-skill

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

Local playback #135

Open ibot3 opened 4 years ago

ibot3 commented 4 years ago

I did not find a clear statement for this. In the Skill settings it states "Playback normally occurs using Mycroft's speaker". However, if I leave the "Remote Control Device" field empty, it just takes the first available Spotify connect device to play the music at, instead of the Picroft speakers.

forslund commented 4 years ago

For a Mark-1 / Mark-2 this is true. For Picroft a player needs to be installed, configured and launched.

ibot3 commented 4 years ago

Okay. However, when using raspotify, the speaker seems to be blocked by it, so that Mycroft cannot listen to any commands,

forslund commented 4 years ago

Sorry lost track of this. Is it the mic that can't hear you say "hey mycroft" or is it audio output that's blocked?

ibot3 commented 4 years ago

I think that it is the audio output. Mycroft recognizes the keyword, but is then stuck because it cannot play the "keyword has been recognized" sound.

fermulator commented 4 years ago

I'd also like to add some doubt here.

At first I did not understand that librespot would be required ; got that working, and the Spotify app shows the new device and works.

My setup:

  1. is an iOS device
  2. is a pre-existing physical device that supports official spotify
  3. is the device running mycroft w/ spotify skill and `librespot`

However from mycroftai w/ the spotify skill, it still doesn't see the new device, even after a full restart.

 what are the available spotify devices?
>> I see the Spotify devices named: <some-mobile-phone> and <another_device>    

, it is not showing <this_local_device>