mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
feat: use thumbnails from folders
+ cache failed lastfm scrobbles + implement lastfm scrobble filter + change /home to /nothome
This commit is contained in:
@@ -38,20 +38,8 @@ class AlbumMapEntry:
|
||||
|
||||
|
||||
class AlbumStore:
|
||||
# albums: list[Album] = CustomList()
|
||||
albummap: dict[str, AlbumMapEntry] = {}
|
||||
|
||||
# @staticmethod
|
||||
# def create_album(track: Track):
|
||||
# """
|
||||
# Creates album object from a track
|
||||
# """
|
||||
# return Album(
|
||||
# albumhash=track.albumhash,
|
||||
# albumartists=track.albumartists, # type: ignore
|
||||
# title=track.og_album,
|
||||
# )
|
||||
|
||||
@classmethod
|
||||
def load_albums(cls, instance_key: str):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user