process albums seperate from tracks

- break populate function into 2
This commit is contained in:
geoffrey45
2022-06-19 14:45:25 +03:00
parent 06ed41d869
commit 3cf44759b5
11 changed files with 100 additions and 220 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ def get_track_by_id(trackid: str) -> models.Track:
print("AttributeError")
def find_track(tracks: list, hash: str) -> int or None:
def find_track(tracks: list, hash: str) -> int | None:
"""
Finds an album by album title and artist.
"""