mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add TODO: Move parsing title, album and artist to startup.
This commit is contained in:
@@ -116,6 +116,8 @@ def get_tags(filepath: str):
|
|||||||
else:
|
else:
|
||||||
setattr(tags, tag, "Unknown")
|
setattr(tags, tag, "Unknown")
|
||||||
|
|
||||||
|
# TODO: Move parsing title, album and artist to startup.
|
||||||
|
|
||||||
to_check = ["album", "year", "albumartist"]
|
to_check = ["album", "year", "albumartist"]
|
||||||
for prop in to_check:
|
for prop in to_check:
|
||||||
p = getattr(tags, prop)
|
p = getattr(tags, prop)
|
||||||
|
|||||||
Reference in New Issue
Block a user