From 630f7332f1da2f4c8aee26bd708dbd6bcc2c849e Mon Sep 17 00:00:00 2001 From: nathom Date: Mon, 19 Apr 2021 17:11:27 -0700 Subject: [PATCH] Fix album search --- streamrip/config.py | 2 +- streamrip/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/streamrip/config.py b/streamrip/config.py index 8ee5b7b..094db84 100644 --- a/streamrip/config.py +++ b/streamrip/config.py @@ -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. diff --git a/streamrip/core.py b/streamrip/core.py index 770d760..00bac6b 100644 --- a/streamrip/core.py +++ b/streamrip/core.py @@ -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: