This commit is contained in:
ed 2021-05-29 05:43:09 +02:00
parent a86f09fa46
commit 118ebf668d
3 changed files with 7 additions and 6 deletions

View file

@ -518,7 +518,6 @@ in the `scripts` folder:
roughly sorted by priority
* mtag mediainfo (multitag)
* separate sqlite table per tag
* audio fingerprinting
* readme.md as epilogue

View file

@ -507,8 +507,10 @@ class AuthSrv(object):
self.log(m.format(vol.vpath, mtp), 1)
errors = True
for mtp in self.args.mtp or []:
mtp = mtp.split("=")[0]
tags = self.args.mtp or []
tags = [x.split("=")[0] for x in tags]
tags = [y for x in tags for y in x.split(",")]
for mtp in tags:
if mtp not in all_mte:
m = 'metadata tag "{}" is defined by "-mtm" or "-mtp", but is not used by "-mte" (or by any "cmte" volume-flag)'
self.log(m.format(mtp), 1)

View file

@ -654,8 +654,8 @@ class Up2k(object):
elif v.audio == "y":
continue
match = False
if v.ext:
match = False
for ext in v.ext:
if abspath.lower().endswith("." + ext):
match = True