mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
process albums seperate from tracks
- break populate function into 2
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user