mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
v1.0.1
This commit is contained in:
parent
6136b9bf9c
commit
633b1f0a78
|
@ -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)
|
||||
|
|
|
@ -9,7 +9,7 @@ function dbg(msg) {
|
|||
|
||||
// toolbar
|
||||
ebi('ops').innerHTML = (
|
||||
'<a href="#" data-dest="" tt="close submenu">---</a>\n' +
|
||||
'<a href="#" data-dest="" tt="close submenu">--</a>\n' +
|
||||
(have_up2k_idx ? (
|
||||
'<a href="#" data-perm="read" data-dest="search" tt="search for files by attributes, path/name, music tags, or any combination of those.$N$N<code>foo bar</code> = must contain both foo and bar,$N<code>foo -bar</code> = must contain foo but not bar,$N<code>^yana .opus$</code> = must start with yana and have the opus extension">🔎</a>\n' +
|
||||
(have_del && have_unpost ? '<a href="#" data-dest="unpost" tt="unpost: delete your recent uploads">🧯</a>\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
|
||||
|
|
Loading…
Reference in a new issue