# Matias Play Spotify

#### *matias-spotify-skill.matiasgonzalocalvo*

### 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](https://home.mycroft.ai/#/skill) 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](https://www.spotify.com/us/account/set-device-password/).

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

#### Platform:

![Mark I](/files/-LzXeYK2dsk17gI0OA2k) ![Mark II](/files/-LzXeYK4JDAbBvHqrpNo) ![Picroft](/files/-LzXeYK6KhCZdb637YLQ) ![plasmoid](/files/-LzXeYK8Pp4IO4mdH0ax)

#### Examples:

> What Spotify devices are available?\
> Play discover weekly.\
> Play Hello Nasty on Spotify.\
> Play something by Covenant.\
> Play the album Hello Nasty on Spotify.\
> Play my liked songs.

### Installation:

{% hint style="warning" %}
This skill is not aproved by Mycroft skill tester.
{% endhint %}

{% tabs %}
{% tab title="Install by mycroft-msm" %}
`mycroft-msm install https://github.com/matiasgonzalocalvo/matias-spotify-skill`
{% endtab %}
{% endtabs %}

### Summary:

**Github:** <https://github.com/matiasgonzalocalvo/matias-spotify-skill>\
**Owner:** [@matiasgonzalocalvo](https://github.com/matiasgonzalocalvo)\
**Created:** 2020 May 10 22:02:24 UTC **Last updated:** 2020 May 11 04:20:27 UTC\
**License:** Apache License 2.0

**Categories:** \[ Music ]\
**Tags:** #spotify #music


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://andlo.gitbook.io/mycroft-skills-list/skills/not-in-market/music/matias-spotify-skill.matiasgonzalocalvo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
