diff --git a/copyparty/__version__.py b/copyparty/__version__.py index b36812fa..c3ab121d 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 9, 6) +VERSION = (0, 9, 7) CODENAME = "the strongest music server" -BUILD_DT = (2021, 3, 7) +BUILD_DT = (2021, 3, 8) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 2a95d74e..4d0f6702 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -1282,18 +1282,18 @@ class HttpCli(object): args = s3enc(idx.mem_cur, rd, fn) r = icur.execute(q, args).fetchone() + tags = {} + f["tags"] = tags + if not r: continue w = r[0][:16] - tags = {} q = "select k, v from mt where w = ? and k != 'x'" for k, v in icur.execute(q, (w,)): taglist[k] = True tags[k] = v - f["tags"] = tags - if icur: taglist = [k for k in self.args.mte.split(",") if k in taglist] for f in dirs: