remove default album/artist names

This commit is contained in:
quackerd 2023-06-06 20:29:25 -04:00
parent c2fdf3a779
commit b44437e18d

View File

@ -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")