This commit is contained in:
ed 2021-05-16 20:22:33 +02:00
parent 8a0f583d71
commit 405ae1308e
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# coding: utf-8
VERSION = (0, 10, 20)
VERSION = (0, 10, 21)
CODENAME = "zip it"
BUILD_DT = (2021, 5, 16)

View file

@ -675,11 +675,16 @@ class Up2k(object):
cur.close()
def _get_parsers(self, ptop, have):
try:
all_parsers = self.mtp_parsers[ptop]
except:
return {}
audio = self.mtp_audio[ptop]
force = self.mtp_force[ptop]
entags = self.entags[ptop]
parsers = {}
for k, v in self.mtp_parsers[ptop].items():
for k, v in all_parsers.items():
if ".dur" in entags:
if ".dur" in have:
# is audio, require non-audio?