mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update explaining URI's (#2487)
Updated the documentation to show how to find the URI and use it to send playlists in the spotify component.
This commit is contained in:
parent
568491c085
commit
25877f0be7
@ -51,5 +51,11 @@ Configuration variables:
|
||||
After the prerequisites and configuration are complete, restart Home Assistant. A **Spotify** configurator element will be available. Follow the instructions to authorize Home Assistant to access your Spotify account. A Spotify media player will then appear.
|
||||
|
||||
## {% linkable_title Sources %}
|
||||
The sources are based on if you have streamed to these devices before in Spotify. If you don't have any sources, then simply stream from your phone to another device in your house, bluetooth, echo, etc. Once you do the sources will show up in the developer console as a device to cast/stream to. Also know that the devices won't show up in the dev-console as sources unless they are powered on as well.
|
||||
|
||||
The sources are based on if you have streamed to these devices before in Spotify. If you don't have any sources, then simply stream from your phone to another device in your house, bluetooth, echo, etc. Once you do the sources will show up in the developer console as a device to cast/stream to. Also know that the devices won't show up in the dev-console as sources unless they are powered on as well.
|
||||
## {% linkable_title URI Links For Playlists/Etc %}
|
||||
You can send playlists to spotify via the "media_content_type": "playlist" and "media_content_id": "spotify:user:spotify:playlist:37i9dQZF1DWSkkUxEhrBdF" which are a part of the media_player.play_media service, you can test this from the services control panel in the Home Assistant frontend.
|
||||
|
||||
In this example this is a URI link to the Reggae Infusions playlist, the link below from Spotify explains how to get this URI value to use for playlists in the Spotify component.
|
||||
|
||||
https://support.spotify.com/us/using_spotify/share_music/why-do-you-have-two-different-link-formats/
|
||||
|
Loading…
x
Reference in New Issue
Block a user