mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-17 16:45:13 -04:00
Misc bug fixes
This commit is contained in:
parent
629239b7af
commit
2f258865ad
3 changed files with 37 additions and 12 deletions
|
@ -107,12 +107,9 @@ class TrackMetadata:
|
|||
"""
|
||||
if self.__source == "qobuz":
|
||||
# Tags
|
||||
print(resp.keys())
|
||||
self.album = resp.get("title")
|
||||
self.tracktotal = resp.get("tracks_count", 1)
|
||||
self.genre = resp.get("genres_list") or resp.get("genre")
|
||||
print("in meta:")
|
||||
print(self.genre)
|
||||
self.date = resp.get("release_date_original") or resp.get("release_date")
|
||||
self.copyright = resp.get("copyright")
|
||||
self.albumartist = safe_get(resp, "artist", "name")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue