add method to append track in queue
This commit is contained in:
parent
5b57f1b9ac
commit
dc6f541a71
2 changed files with 34 additions and 1 deletions
|
@ -58,6 +58,14 @@ class SessionData():
|
|||
|
||||
return self.__access_token
|
||||
|
||||
def __eq__(self, other):
|
||||
if not isinstance(other, SessionData):
|
||||
return False
|
||||
|
||||
return (self.__access_token == other.__access_token and
|
||||
self.__refresh_token == other.__refresh_token and
|
||||
self.__expires_in == other.__expires_in)
|
||||
|
||||
|
||||
class SessionManager():
|
||||
__current_session: SessionData
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue