From 31a3b5cdce3af7c902e694264a0c6e9bcad8eb1d Mon Sep 17 00:00:00 2001 From: Jack Ryder Date: Mon, 19 Sep 2016 20:32:15 +0100 Subject: [PATCH] added collab playlist scope --- SpotifyAPI.Example/WebControl.cs | 2 +- SpotifyAPI/Web/Enums/Scope.cs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SpotifyAPI.Example/WebControl.cs b/SpotifyAPI.Example/WebControl.cs index 91fa721a..5956f051 100644 --- a/SpotifyAPI.Example/WebControl.cs +++ b/SpotifyAPI.Example/WebControl.cs @@ -108,7 +108,7 @@ namespace SpotifyAPI.Example 8000, "26d287105e31491889f3cd293d85bfea", Scope.UserReadPrivate | Scope.UserReadEmail | Scope.PlaylistReadPrivate | Scope.UserLibraryRead | - Scope.UserReadPrivate | Scope.UserFollowRead | Scope.UserReadBirthdate | Scope.UserTopRead); + Scope.UserReadPrivate | Scope.UserFollowRead | Scope.UserReadBirthdate | Scope.UserTopRead | Scope.PlaylistReadCollaborative); try { diff --git a/SpotifyAPI/Web/Enums/Scope.cs b/SpotifyAPI/Web/Enums/Scope.cs index 0cbc90b3..1f0845f3 100644 --- a/SpotifyAPI/Web/Enums/Scope.cs +++ b/SpotifyAPI/Web/Enums/Scope.cs @@ -42,6 +42,9 @@ namespace SpotifyAPI.Web.Enums UserReadBirthdate = 2048, [String("user-top-read")] - UserTopRead = 4096 + UserTopRead = 4096, + + [String("playlist-read-collaborative")] + PlaylistReadCollaborative = 8192 } } \ No newline at end of file