mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
fix search to read from database
This commit is contained in:
@@ -185,8 +185,9 @@ class Get:
|
||||
a = instances.album_instance.get_all_albums()
|
||||
return [models.Album(a) for a in a]
|
||||
|
||||
def get_all_artists(self) -> Set[str]:
|
||||
tracks = self.get_all_tracks()
|
||||
@classmethod
|
||||
def get_all_artists(cls) -> Set[str]:
|
||||
tracks = cls.get_all_tracks()
|
||||
artists: Set[str] = set()
|
||||
|
||||
for track in tracks:
|
||||
|
||||
Reference in New Issue
Block a user