Mycroft Skill to control spotify using the Spotify Connect API
Clone or download
Latest commit 0758a57 Nov 13, 2018

README.md

Spotify

Listen to music from your Spotify Premium music account

About

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 Spotify 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 discover weekly"
  • "Search Spotify for Hello Nasty"
  • "Play something by Coventant"
  • "Play the album Hello Nasty on Spotify"

Credits

@forslund The Mycroft devs

Category

Music

Tags

#spotify #music