Fix album search

This commit is contained in:
nathom 2021-04-19 17:11:27 -07:00
parent bb919b8cb0
commit 630f7332f1
2 changed files with 2 additions and 2 deletions

View file

@ -218,7 +218,7 @@ class ConfigDocumentation:
app_id: Do not change
secrets: Do not change
tidal:
quality: 0, 1, 2, or 3
quality: 0: 256kbps AAC, 1: 320kbps AAC, 2: 16/44.1 "HiFi" FLAC, 3: 24/44.1 "MQA" FLAC
download_videos: This will download videos included in Video Albums.
user_id: Do not change any of the fields below
token_expiry: Tokens last 1 week after refresh. This is the Unix timestamp of the expiration time.

View file

@ -396,7 +396,7 @@ class MusicDL(list):
def title(res):
if isinstance(res[1], Album):
return f"{res[0]+1}. {res[1].meta.album}"
return f"{res[0]+1}. {res[1].album}"
elif isinstance(res[1], Track):
return f"{res[0]+1}. {res[1].meta.title}"
else: