This commit is contained in:
nathom 2021-04-12 17:17:30 -07:00
parent 4d4596da6d
commit 38c79d79b0
2 changed files with 4 additions and 1 deletions

View file

@ -371,7 +371,8 @@ class MusicDL(list):
"{albumartist} - {title}\n"
"Released on {year}\n{tracktotal} tracks\n"
"{bit_depth} bit / {sampling_rate} Hz\n"
"Version: {version}"
"Version: {version}\n"
"Genre: {genre}"
)
elif isinstance(media, Artist):
fmt = "{name}"

View file

@ -929,6 +929,7 @@ class Album(Tracklist):
resp["image"]["original"] = resp["image"]["large"].replace("600", "org")
# TODO: combine these with TrackMetadata objects
return {
"id": resp.get("id"),
"title": resp.get("title"),
@ -940,6 +941,7 @@ class Album(Tracklist):
"release_type": resp.get("release_type", "album"),
"cover_urls": resp.get("image"),
"streamable": resp.get("streamable"),
"genre": safe_get(resp, 'genre', 'name'),
"quality": get_quality_id(
resp.get("maximum_bit_depth"), resp.get("maximum_sampling_rate")
),