From 7640f2cc1aaf03012752b437081d36d64f77dfc4 Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Wed, 1 Feb 2023 14:48:23 +0300 Subject: [PATCH] add TODO: Move parsing title, album and artist to startup. --- app/lib/taglib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/taglib.py b/app/lib/taglib.py index afa7af69..39c80645 100644 --- a/app/lib/taglib.py +++ b/app/lib/taglib.py @@ -116,6 +116,8 @@ def get_tags(filepath: str): else: setattr(tags, tag, "Unknown") + # TODO: Move parsing title, album and artist to startup. + to_check = ["album", "year", "albumartist"] for prop in to_check: p = getattr(tags, prop)