mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
use all flag to check drives
This commit is contained in:
+5
-1
@@ -143,7 +143,11 @@ def get_extras(filepath: str, keys: list[str]):
|
||||
"""
|
||||
Get extra tags from an audio file.
|
||||
"""
|
||||
tags = TinyTag.get(filepath)
|
||||
try:
|
||||
tags = TinyTag.get(filepath)
|
||||
except Exception:
|
||||
return [""] * len(keys)
|
||||
|
||||
extras = tags.extra
|
||||
|
||||
return [extras.get(key, "").strip() for key in keys]
|
||||
|
||||
Reference in New Issue
Block a user