mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-10 21:17:33 +00:00
add TODO: Move parsing title, album and artist to startup.
This commit is contained in:
parent
838e19cf0f
commit
7640f2cc1a
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user