From 6b50e62b374fb0a62ca20bf70410f74d10b6e0ac Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Tue, 18 Apr 2023 13:19:53 +0200 Subject: [PATCH] implemented setting for the album blacklist --- src/music_kraken/utils/shared.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/music_kraken/utils/shared.py b/src/music_kraken/utils/shared.py index 3f8d854..ce14bfa 100644 --- a/src/music_kraken/utils/shared.py +++ b/src/music_kraken/utils/shared.py @@ -101,8 +101,4 @@ SHOW_DOWNLOAD_ERRORS_THRESHOLD = CONNECTION_SECTION.SHOW_DOWNLOAD_ERRORS_THRESHO SORT_BY_DATE = AUDIO_SECTION.SORT_BY_DATE.object_from_value SORT_BY_ALBUM_TYPE = AUDIO_SECTION.SORT_BY_ALBUM_TYPE.object_from_value -ALBUM_TYPE_BLACKLIST: List[AlbumType] = [ - AlbumType.COMPILATION_ALBUM, - AlbumType.MIXTAPE, - AlbumType.LIVE_ALBUM -] +ALBUM_TYPE_BLACKLIST: List[AlbumType] = AUDIO_SECTION.ALBUM_TYPE_BLACKLIST.object_from_value