Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f2cb6764a | ||
|
|
96495a9bf1 | ||
|
|
b2fafec5fc |
@@ -1,8 +1,8 @@
|
||||
# coding: utf-8
|
||||
|
||||
VERSION = (0, 9, 5)
|
||||
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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1289,16 +1289,33 @@ var mukey = (function () {
|
||||
|
||||
if (min)
|
||||
for (var a = 0, aa = rows.length; a < aa; a++) {
|
||||
var v = rows[a].cells[i].getAttribute('html');
|
||||
rows[a].cells[i].setAttribute('html', map[v] || v);
|
||||
var c = rows[a].cells[i];
|
||||
if (!c)
|
||||
continue;
|
||||
|
||||
var v = c.getAttribute('html');
|
||||
c.setAttribute('html', map[v] || v);
|
||||
}
|
||||
else
|
||||
for (var a = 0, aa = rows.length; a < aa; a++) {
|
||||
var v = rows[a].cells[i].textContent;
|
||||
rows[a].cells[i].textContent = map[v] || v;
|
||||
var c = rows[a].cells[i];
|
||||
if (!c)
|
||||
continue;
|
||||
|
||||
var v = c.textContent;
|
||||
c.textContent = map[v] || v;
|
||||
}
|
||||
}
|
||||
|
||||
function try_render() {
|
||||
try {
|
||||
render();
|
||||
}
|
||||
catch (ex) {
|
||||
console.log("key notation failed: " + ex);
|
||||
}
|
||||
}
|
||||
|
||||
var notation = sread("key_notation") || "rekobo_alnum";
|
||||
ebi('key_' + notation).checked = true;
|
||||
load_notation(notation);
|
||||
@@ -1309,7 +1326,7 @@ var mukey = (function () {
|
||||
}
|
||||
|
||||
return {
|
||||
"render": render
|
||||
"render": try_render
|
||||
};
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user