Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitiko98 committed Mar 22, 2021
1 parent 049280c commit 1004039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions qobuz_dl/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,11 @@ def essence(album: dict) -> str:
# use dicts to group duplicate albums together by title
title_grouped = dict()
for item in items:
if (t := essence(item["title"])) not in title_grouped:
title_grouped[t] = []
title_grouped[t].append(item)
title_ = essence(item["title"])
if title_ not in title_grouped: # ?
# if (t := essence(item["title"])) not in title_grouped:
title_grouped[title_] = []
title_grouped[title_].append(item)

items = []
for albums in title_grouped.values():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_file(fname):

setup(
name=pkg_name,
version="0.9.8",
version="0.9.8.1",
author="Vitiko",
author_email="[email protected]",
description="The complete Lossless and Hi-Res music downloader for Qobuz",
Expand Down

0 comments on commit 1004039

Please sign in to comment.