add route to get all tracks in path

+ add routes to save album and artist as a playlist
This commit is contained in:
mungai-njoroge
2023-08-04 13:40:48 +03:00
parent efb6aae927
commit 655fd8bc22
7 changed files with 169 additions and 38 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ class TrackStore:
return remove_duplicates(tracks)
@classmethod
def get_tracks_by_artist(cls, artisthash: str) -> list[Track]:
def get_tracks_by_artisthash(cls, artisthash: str) -> list[Track]:
"""
Returns all tracks matching the given artist. Duplicate tracks are removed.
"""