mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
v0.9.7
This commit is contained in:
parent
96495a9bf1
commit
7f2cb6764a
|
@ -1,8 +1,8 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 9, 6)
|
VERSION = (0, 9, 7)
|
||||||
CODENAME = "the strongest music server"
|
CODENAME = "the strongest music server"
|
||||||
BUILD_DT = (2021, 3, 7)
|
BUILD_DT = (2021, 3, 8)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|
|
@ -1282,18 +1282,18 @@ class HttpCli(object):
|
||||||
args = s3enc(idx.mem_cur, rd, fn)
|
args = s3enc(idx.mem_cur, rd, fn)
|
||||||
r = icur.execute(q, args).fetchone()
|
r = icur.execute(q, args).fetchone()
|
||||||
|
|
||||||
|
tags = {}
|
||||||
|
f["tags"] = tags
|
||||||
|
|
||||||
if not r:
|
if not r:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
w = r[0][:16]
|
w = r[0][:16]
|
||||||
tags = {}
|
|
||||||
q = "select k, v from mt where w = ? and k != 'x'"
|
q = "select k, v from mt where w = ? and k != 'x'"
|
||||||
for k, v in icur.execute(q, (w,)):
|
for k, v in icur.execute(q, (w,)):
|
||||||
taglist[k] = True
|
taglist[k] = True
|
||||||
tags[k] = v
|
tags[k] = v
|
||||||
|
|
||||||
f["tags"] = tags
|
|
||||||
|
|
||||||
if icur:
|
if icur:
|
||||||
taglist = [k for k in self.args.mte.split(",") if k in taglist]
|
taglist = [k for k in self.args.mte.split(",") if k in taglist]
|
||||||
for f in dirs:
|
for f in dirs:
|
||||||
|
|
Loading…
Reference in a new issue