Set album name "Music" for unknown album var

This commit is contained in:
Halhadus 2025-02-18 06:26:25 -05:00
parent 60eb0f8aa1
commit 85846fc916

View file

@ -110,7 +110,7 @@ def process_downloads():
tag = tinytag.TinyTag.get(final_path) tag = tinytag.TinyTag.get(final_path)
metadata = { metadata = {
'artist': tag.artist or 'Unknown', 'artist': tag.artist or 'Unknown',
'album': tag.album or 'Unknown', 'album': tag.album or 'Music',
'title': tag.title or display_name, 'title': tag.title or display_name,
'duration': tag.duration or 0 'duration': tag.duration or 0
} }