diff options
author | RaindropsSys <raindrops@equestria.dev> | 2023-12-02 16:03:25 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2023-12-02 16:03:25 +0100 |
commit | cf20c457e3bcf5b241430ada16b15de0ec883b8b (patch) | |
tree | 1aed66d30dc96516a8fcacb03b7817f9df437fca | |
parent | 747d8f88d5a635ba68b3f6288fb8d1f3fe48f83d (diff) | |
download | mist-cf20c457e3bcf5b241430ada16b15de0ec883b8b.tar.gz mist-cf20c457e3bcf5b241430ada16b15de0ec883b8b.tar.bz2 mist-cf20c457e3bcf5b241430ada16b15de0ec883b8b.zip |
Updated 6 files (automated)
-rw-r--r-- | .DS_Store | bin | 20484 -> 20484 bytes | |||
-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 | ||||
-rw-r--r-- | assets/delays.json | 9 | ||||
-rw-r--r-- | includes/session.php | 2 |
6 files changed, 16 insertions, 3 deletions
Binary files differ 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; diff --git a/assets/delays.json b/assets/delays.json index 148a018..57585fc 100644 --- a/assets/delays.json +++ b/assets/delays.json @@ -11,5 +11,12 @@ "0143c30b-8bbe-4bde-a149-eff69547b9a5": 1.3, "d0408137-e2e2-4935-923b-a40088d1199b": 0.1, "c9fcbfb5-9e4c-4398-9b46-e1a99bd22ce7": -18, - "7c55b870-bb22-497a-aed5-fdf30845c327": -0.2 + "7c55b870-bb22-497a-aed5-fdf30845c327": -0.2, + "0acd2bc9-5006-4d6f-8320-302fa49c6224": -0.5, + "3566de89-86c4-4070-bb30-2d3e7dc4c98d": -0.5, + "141c05b8-e531-4987-b5b0-642a9b207374": 14.2, + "dc0354f8-067a-468b-a0c8-d9a3f4719007": 14.2, + "82ea1969-e767-45d3-9520-eca8095878f0": 1, + "073d9906-7f74-41d2-aed2-c8b24a3437de": 17.5, + "5798de2c-7ea9-4492-b478-6cb21d64eedd": 8.2 }
\ No newline at end of file diff --git a/includes/session.php b/includes/session.php index a87ad72..28be2dd 100644 --- a/includes/session.php +++ b/includes/session.php @@ -79,7 +79,7 @@ function displayList($list, $hasAlbum = false) { global $albums; global $favorit <div class="list-actions"> <span style="margin-right: 10px;"> <?php if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $id . ".stella")): ?> - <img data-bs-html="true" title="<img src='/assets/icons/stella-full.svg' class='stella-logo-full'>" data-bs-toggle="tooltip" alt="" src="/assets/icons/stella.svg" style="vertical-align: middle; width: 16px; height: 16px; position: relative; top: -10px;"> + <img data-bs-html="true" title="<img src='/assets/icons/stella-full.svg' class='stella-logo-full'>" data-bs-toggle="tooltip" alt="" src="/assets/icons/stella.svg" style="vertical-align: middle; width: 16px; height: 16px; position: relative; top: -11px;"> <style> .stella-logo-full { height: 12px; |