Version 2.1.0 - Edit de valeurs
All checks were successful
Subsonics - Web/pipeline/head This commit looks good

This commit is contained in:
Raphael 2024-04-16 16:50:11 +02:00
parent ef3d23d7b1
commit 4ed76f3a31
4 changed files with 5 additions and 4 deletions

View File

@ -36,7 +36,7 @@ class MoonlinkPlayer {
this.playing = data.playing || false; this.playing = data.playing || false;
this.paused = data.paused || false; this.paused = data.paused || false;
this.loop = data.loop || 0; this.loop = data.loop || 0;
this.volume = data.volume || 100; this.volume = data.volume || 80;
this.ping = data.ping || 0; this.ping = data.ping || 0;
this.queue = new (index_1.Structure.get("MoonlinkQueue"))(this.manager, this.guildId); this.queue = new (index_1.Structure.get("MoonlinkQueue"))(this.manager, this.guildId);
this.current = null; this.current = null;

View File

@ -1,7 +1,7 @@
{ {
"name": "subsonics-web", "name": "subsonics-web",
"author": "Raphix", "author": "Raphix",
"version": "2.1.0", "version": "2.1.1",
"nodemonConfig": { "nodemonConfig": {
"ext": "js, html", "ext": "js, html",
"ignore": [ "ignore": [

View File

@ -32,6 +32,7 @@ function setup() {
// Config GETTER // Config GETTER
function getConfig(dlog) { function getConfig(dlog) {
dlog.step.init("getConfig", "Récupération du fichier de configuration") dlog.step.init("getConfig", "Récupération du fichier de configuration")

View File

@ -256,7 +256,7 @@ volume.addEventListener("click", () => {
volume.addEventListener("dblclick", () => { volume.addEventListener("dblclick", () => {
post("VOLUME", 100) post("VOLUME", 80)
}) })
play.addEventListener('click', () => { play.addEventListener('click', () => {
@ -373,7 +373,7 @@ volIcon.addEventListener('click', () => {
if(volume.value > 1) { if(volume.value > 1) {
post("VOLUME", 1) post("VOLUME", 1)
} else { } else {
post("VOLUME", 100) post("VOLUME", 80)
} }
}) })