feat: extract featured artists from track title

This commit is contained in:
geoffrey45
2023-01-24 18:53:30 +03:00
parent df6609e7f4
commit 2ba1b0386e
7 changed files with 64 additions and 19 deletions
+1 -2
View File
@@ -19,7 +19,7 @@ class CacheEntry:
"""
def __init__(
self, artisthash: str, albumhashes: set[str], tracks: list[Track]
self, artisthash: str, albumhashes: set[str], tracks: list[Track]
) -> None:
self.albums: list[Album] = []
self.tracks: list[Track] = []
@@ -275,7 +275,6 @@ def get_artist_tracks(artisthash: str):
# return {"albums": albums[:limit]}
# @artist_bp.route("/artist/<artist>")
# @cache.cached()
# def get_artist_data(artist: str):