WIP
This commit is contained in:
@@ -83,6 +83,9 @@ class AlbumSearchQuery:
|
||||
class Genre:
|
||||
name: str
|
||||
|
||||
# Pickle backwards compatibility
|
||||
_Genre = Genre
|
||||
|
||||
class Type(Enum):
|
||||
"""
|
||||
Represents a type of query. Use :class:`Adapter.supported_artist_query_types` to
|
||||
|
@@ -89,6 +89,9 @@ class UIState:
|
||||
|
||||
active_playlist_id: Optional[str] = None
|
||||
|
||||
# Pickle backwards compatibility
|
||||
_DefaultGenre = AlbumSearchQuery.Genre
|
||||
|
||||
def __getstate__(self):
|
||||
state = self.__dict__.copy()
|
||||
del state["song_stream_cache_progress"]
|
||||
|
Reference in New Issue
Block a user