From b44437e18d4c7b7e20a9722fac43edb84306ff91 Mon Sep 17 00:00:00 2001 From: quackerd Date: Tue, 6 Jun 2023 20:29:25 -0400 Subject: [PATCH] remove default album/artist names --- musick.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/musick.py b/musick.py index f6d950a..e65725c 100644 --- a/musick.py +++ b/musick.py @@ -19,9 +19,6 @@ cover_dir = None overwrite_cover = False cover_arts = [] -UNKNOWN_ARTIST_NAME = "Unknown Artist" -UNKNOWN_ALBUM_NAME = "Unknown Album" - WILDCARD_MATCH_SCORE = 1 ARTIST_MATCH_SCORE = 10 ALBUM_MATCH_SCORE = 100 @@ -134,10 +131,6 @@ def process_file(f: str, odir: str): total_proc += 1 artist, album, title = parse_triple(f) - if len(album) == 0: - album = [UNKNOWN_ALBUM_NAME] - if len(artist) == 0: - artist = [UNKNOWN_ARTIST_NAME] if len(title) == 0: raise Exception("No title")