From 633b1f0a78da5d921440ccbf5f4ae89af853b4cb Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 9 Sep 2021 00:59:55 +0200 Subject: [PATCH] v1.0.1 --- copyparty/__version__.py | 4 ++-- copyparty/web/browser.js | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/copyparty/__version__.py b/copyparty/__version__.py index d52120a1..4c7ff8bb 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 0, 0) +VERSION = (1, 0, 1) CODENAME = "sufficient" -BUILD_DT = (2021, 9, 7) +BUILD_DT = (2021, 9, 9) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index e59f03fb..9e09be6e 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -9,7 +9,7 @@ function dbg(msg) { // toolbar ebi('ops').innerHTML = ( - '---\n' + + '--\n' + (have_up2k_idx ? ( '🔎\n' + (have_del && have_unpost ? '🧯\n' : '') + @@ -1068,7 +1068,7 @@ var audio_eq = (function () { // some browsers have insane high-frequency boost // (or rather the actual problem is Q but close enough) - var cali = (function () { + r.cali = (function () { try { var ac = new AudioContext(), fi = ac.createBiquadFilter(), @@ -1088,8 +1088,10 @@ var audio_eq = (function () { catch (ex) { return 0; } - })(), - mp = cali < 1.05; + })(); + console.log('eq cali: ' + r.cali); + + var mp = r.cali < 1.05; var cfg = [ // hz, q, g [31.25 * 0.88, 0, 1.4], // shelf