Add Spotify media browser capability (#39240)
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com> Co-authored-by: Bram Kragten <mail@bramkragten.nl> Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
7 files changed
+390
-21
No files matched your search
@@ -5,3 +5,20 @@ DOMAIN = "spotify"
|
||||
DATA_SPOTIFY_CLIENT = "spotify_client"
|
||||
DATA_SPOTIFY_ME = "spotify_me"
|
||||
DATA_SPOTIFY_SESSION = "spotify_session"
|
||||
|
||||
SPOTIFY_SCOPES = [
|
||||
# Needed to be able to control playback
|
||||
"user-modify-playback-state",
|
||||
# Needed in order to read available devices
|
||||
"user-read-playback-state",
|
||||
# Needed to determine if the user has Spotify Premium
|
||||
"user-read-private",
|
||||
# Needed for media browsing
|
||||
"playlist-read-private",
|
||||
"playlist-read-collaborative",
|
||||
"user-library-read",
|
||||
"user-top-read",
|
||||
"user-read-playback-position",
|
||||
"user-read-recently-played",
|
||||
"user-follow-read",
|
||||
]
|
||||
Reference in new issue
Block a user