mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
fix bugs
This commit is contained in:
parent
a86f09fa46
commit
118ebf668d
|
@ -518,7 +518,6 @@ in the `scripts` folder:
|
||||||
|
|
||||||
roughly sorted by priority
|
roughly sorted by priority
|
||||||
|
|
||||||
* mtag mediainfo (multitag)
|
|
||||||
* separate sqlite table per tag
|
* separate sqlite table per tag
|
||||||
* audio fingerprinting
|
* audio fingerprinting
|
||||||
* readme.md as epilogue
|
* readme.md as epilogue
|
||||||
|
|
|
@ -507,8 +507,10 @@ class AuthSrv(object):
|
||||||
self.log(m.format(vol.vpath, mtp), 1)
|
self.log(m.format(vol.vpath, mtp), 1)
|
||||||
errors = True
|
errors = True
|
||||||
|
|
||||||
for mtp in self.args.mtp or []:
|
tags = self.args.mtp or []
|
||||||
mtp = mtp.split("=")[0]
|
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:
|
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)'
|
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)
|
self.log(m.format(mtp), 1)
|
||||||
|
|
|
@ -654,15 +654,15 @@ class Up2k(object):
|
||||||
elif v.audio == "y":
|
elif v.audio == "y":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
match = False
|
|
||||||
if v.ext:
|
if v.ext:
|
||||||
|
match = False
|
||||||
for ext in v.ext:
|
for ext in v.ext:
|
||||||
if abspath.lower().endswith("." + ext):
|
if abspath.lower().endswith("." + ext):
|
||||||
match = True
|
match = True
|
||||||
break
|
break
|
||||||
|
|
||||||
if not match:
|
if not match:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
parsers[k] = v
|
parsers[k] = v
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue