ver Mar7th

updated instructions and set-up configs
This commit is contained in:
David Chang
2024-03-07 16:54:06 +08:00
parent 054e016aff
commit d6cd0936b3
11 changed files with 121 additions and 20 deletions

View File

@@ -81,7 +81,7 @@ def check_mp3_meta(result: str, meta: Dict[str, Dict[str, Union[str, V]]]) -> bo
for k, r in meta.items():
value = id3_dict.get(k, "")
if isinstance(value, list):
value: str = value[0]
value: str = ",".join(value)
logger.debug("%s.%s: %s", result, k, value)
metric = metric and _match_value_to_rule(value, r)
return float(metric)