We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acd633d + 5e108e9 commit dafd539Copy full SHA for dafd539
1 file changed
librespot/oauth.py
@@ -54,6 +54,10 @@ def get_auth_url(self):
54
def set_code(self, code):
55
self.__code = code
56
57
+ def set_scopes(self, scopes):
58
+ self.__scopes = scopes
59
+ return self
60
+
61
def request_token(self):
62
if not self.__code:
63
raise RuntimeError("You need to provide a code before!")
@@ -138,4 +142,3 @@ def flow(self):
138
142
def __close(self):
139
143
if self.__server:
140
144
self.__server.shutdown()
141
-
0 commit comments