This commit is contained in:
vitiko98 2021-03-22 14:02:17 -04:00
parent 049280c178
commit 10040396ad
2 changed files with 6 additions and 4 deletions

View File

@ -539,9 +539,11 @@ class QobuzDL:
# use dicts to group duplicate albums together by title # use dicts to group duplicate albums together by title
title_grouped = dict() title_grouped = dict()
for item in items: for item in items:
if (t := essence(item["title"])) not in title_grouped: title_ = essence(item["title"])
title_grouped[t] = [] if title_ not in title_grouped: # ?
title_grouped[t].append(item) # if (t := essence(item["title"])) not in title_grouped:
title_grouped[title_] = []
title_grouped[title_].append(item)
items = [] items = []
for albums in title_grouped.values(): for albums in title_grouped.values():

View File

@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split()
setup( setup(
name=pkg_name, name=pkg_name,
version="0.9.8", version="0.9.8.1",
author="Vitiko", author="Vitiko",
author_email="vhnz98@gmail.com", author_email="vhnz98@gmail.com",
description="The complete Lossless and Hi-Res music downloader for Qobuz", description="The complete Lossless and Hi-Res music downloader for Qobuz",