Add Spotify Media Player
brianjking opened this issue · 4 comments
brianjking commented
When I attempt to link and authorize the Spotify component I receive a INVALID_CLIENT: Invalid redirect URI
message.
https://accounts.spotify.com/authorize?client_id=5ad031944d3a43c381ced4b3a2f05341&redirect_uri=http%3A%2F%2Fraptorbot.ddns.net%2Fapi%2Fspotify&scope=user-modify-playback-state+user-read-playback-state+user-read-private&response_type=code
brianjking commented
Seems possibly related to these issues in the Home Assistant repo:
brianjking commented
Created new issue in Home Assistant repository home-assistant/core#16585.
brianjking commented
Adding https://
prefix to my secrets.yaml
file fixed the inability to authorize Spotify API connection.
Now have 2 other issues to diagnose & resolve:
- Setup aliases for devices to play Spotify on, see here.
aliases (Optional): Dictionary of device ids to be aliased, handy for devices that Spotify cannot properly determine the device name of. New devices will be logged to the info channel for ease of aliasing.
- Diagnose & resolve duplicate Spotify Media Players are showing up.
- media_player.spotify
- media_player.spotify_2
media_player 4:
platform: spotify
client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret