diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/.DS_Store | bin | 6148 -> 6148 bytes | |||
-rw-r--r-- | app/index.php | 6 | ||||
-rw-r--r-- | app/ui/lyrics.php | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/app/.DS_Store b/app/.DS_Store Binary files differindex c348c57..20257f6 100644 --- a/app/.DS_Store +++ b/app/.DS_Store diff --git a/app/index.php b/app/index.php index 8a6aff6..3f0a8f5 100644 --- a/app/index.php +++ b/app/index.php @@ -248,10 +248,16 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI localStorage.setItem("data-saving", "false"); } + localStorage.setItem("show-stella-settings", "true"); + if (!localStorage.getItem("normalize")) { localStorage.setItem("normalize", "true"); } + if (!localStorage.getItem("enable-stella")) { + localStorage.setItem("enable-stella", "true"); + } + if (!localStorage.getItem("overamp")) { localStorage.setItem("overamp", "false"); } diff --git a/app/ui/lyrics.php b/app/ui/lyrics.php index 103167c..20a7d72 100644 --- a/app/ui/lyrics.php +++ b/app/ui/lyrics.php @@ -75,7 +75,7 @@ window.lyrics = {}; setInterval(async () => { - if (!window.delays) window.delays = await (await fetch("/assets/delays.json")).json(); + if (!window.delays) window.delays = await (await fetch("/assets/delays.json?_=" + [...crypto.getRandomValues(new Uint8Array(40))].map(m=>('0'+m.toString(16)).slice(-2)).join(''))).json(); if (window.parent.currentSongID !== lastID) { lastID = window.parent.currentSongID; |