Code Monkey home page Code Monkey logo

spotify-skill's Introduction

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"

Commands

Playing music:

  • "Play something by Coventant" - Will queue songs by Coventant
  • "Play Background" - Will play either your playlist named "Background" or the first song result
  • "Search Spotify for Hello Nasty" - Will play first song result matching the query

Controls:

  • "Play the next/previous song" - Will skip the track either forward or backwards, respectively
  • "Stop/Pause the music" - Will pause the current track
  • "Turn on/off spotify shuffle" - Will enable/disable shuffling on the current song queue

Misc:

  • "What Spotify devices are available?" - Will list currently available Spotify devices

Credits

@forslund The Mycroft devs

Category

Music

Tags

#spotify #music

spotify-skill's People

Contributors

forslund avatar penrods avatar bnolet avatar kathyreid avatar luke5sky avatar mrturnit avatar devs-mycroft avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.