mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-16 16:14:49 -04:00
Fix album search
This commit is contained in:
parent
bb919b8cb0
commit
630f7332f1
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ class ConfigDocumentation:
|
||||||
app_id: Do not change
|
app_id: Do not change
|
||||||
secrets: Do not change
|
secrets: Do not change
|
||||||
tidal:
|
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.
|
download_videos: This will download videos included in Video Albums.
|
||||||
user_id: Do not change any of the fields below
|
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.
|
token_expiry: Tokens last 1 week after refresh. This is the Unix timestamp of the expiration time.
|
||||||
|
|
|
@ -396,7 +396,7 @@ class MusicDL(list):
|
||||||
|
|
||||||
def title(res):
|
def title(res):
|
||||||
if isinstance(res[1], Album):
|
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):
|
elif isinstance(res[1], Track):
|
||||||
return f"{res[0]+1}. {res[1].meta.title}"
|
return f"{res[0]+1}. {res[1].meta.title}"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue