Set album name "Music" for unknown album var
This commit is contained in:
parent
60eb0f8aa1
commit
85846fc916
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue