mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
v0.10.21
This commit is contained in:
parent
8a0f583d71
commit
405ae1308e
|
@ -1,6 +1,6 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 10, 20)
|
VERSION = (0, 10, 21)
|
||||||
CODENAME = "zip it"
|
CODENAME = "zip it"
|
||||||
BUILD_DT = (2021, 5, 16)
|
BUILD_DT = (2021, 5, 16)
|
||||||
|
|
||||||
|
|
|
@ -675,11 +675,16 @@ class Up2k(object):
|
||||||
cur.close()
|
cur.close()
|
||||||
|
|
||||||
def _get_parsers(self, ptop, have):
|
def _get_parsers(self, ptop, have):
|
||||||
|
try:
|
||||||
|
all_parsers = self.mtp_parsers[ptop]
|
||||||
|
except:
|
||||||
|
return {}
|
||||||
|
|
||||||
audio = self.mtp_audio[ptop]
|
audio = self.mtp_audio[ptop]
|
||||||
force = self.mtp_force[ptop]
|
force = self.mtp_force[ptop]
|
||||||
entags = self.entags[ptop]
|
entags = self.entags[ptop]
|
||||||
parsers = {}
|
parsers = {}
|
||||||
for k, v in self.mtp_parsers[ptop].items():
|
for k, v in all_parsers.items():
|
||||||
if ".dur" in entags:
|
if ".dur" in entags:
|
||||||
if ".dur" in have:
|
if ".dur" in have:
|
||||||
# is audio, require non-audio?
|
# is audio, require non-audio?
|
||||||
|
|
Loading…
Reference in a new issue