This commit is contained in:
ed 2021-03-23 02:13:28 +01:00
parent d8d1f94a86
commit cd3e0afad2
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# coding: utf-8
VERSION = (0, 9, 12)
VERSION = (0, 9, 13)
CODENAME = "the strongest music server"
BUILD_DT = (2021, 3, 23)

View file

@ -1295,7 +1295,7 @@ class HttpCli(object):
tags = {}
f["tags"] = tags
if not r:
continue
@ -1306,7 +1306,7 @@ class HttpCli(object):
tags[k] = v
if icur:
taglist = [k for k in vn.flags["mte"].split(",") if k in taglist]
taglist = [k for k in vn.flags.get("mte", "").split(",") if k in taglist]
for f in dirs:
f["tags"] = {}
@ -1379,7 +1379,9 @@ class HttpCli(object):
ts=ts,
perms=json.dumps(perms),
taglist=taglist,
tag_order=json.dumps(vn.flags["mte"].split(",")),
tag_order=json.dumps(
vn.flags["mte"].split(",") if "mte" in vn.flags else []
),
have_up2k_idx=("e2d" in vn.flags),
have_tags_idx=("e2t" in vn.flags),
logues=logues,