Skip to content

Mycroft Skill to control spotify using the Spotify Connect API

License

Notifications You must be signed in to change notification settings

forslund/spotify-skill

Repository files navigation

Spotify

Listen to music from your Spotify Premium music account

Description

Stream your favorite music from the popular Spotify music service. Spotify Premium users can search and play tracks from their own playlists or the huge Spotify music library.

You can also control your Mycroft device using the Spotify Connect system. So play DJ on your phone while listening on Mycroft!

Authorization:

This Skill uses two different methods of authentication. Both need to be filled in correctly for the Skill to function correctly.

API connection to your Spotify account

After installing mycroft-spotify, in your Skill settings for Spotify in home.mycroft.ai you will see settings for the Spotify Skill. You will see a username and password field and a 'Connect' button. Ignore the username and password field for now, and click the 'Connect' button. You will be prompted to log in to Spotify, and to authorize Mycroft AI to use your Spotify account using OAuth. This allows Mycroft access to your account details such as Playlists.

Username and password to authenticate a Mycroft device

In addition to account details, Mycroft needs to be authorized as a device for Spotify. To do this, we use your username and password for Spotify. These must be entered as well, or you will receive an error message like:

I couldn't find any Spot-ify devices. This skill requires a Spot-ify Premium account to work properly.

when you try to use the Skill on a Mycroft device.

If you log in to Spotify using Facebook, your password will be your Facebook password, but your Spotify device username. You can get your Spotify device username here.

NOTE: You MUST have a Premium Spotify account to use this Skill. It will NOT work with a free Spotify account.

Examples

  • "What Spotify devices are available?"
  • "Play discovery weekly"
  • "Search Spotify for Hello Nasty*"
  • "Play something by Coventant"
  • "Play the album Hello Nasty on Spotify"
  • "Next track"
  • "Pause"
  • "Stop"

Todo

  • Add playback of individual tracks

Credits

Åke Forslund

About

Mycroft Skill to control spotify using the Spotify Connect API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages