Skip to content

Commit b47ead9

Browse files
committed
[pleezer] Add --initial-volume param default 10
1 parent 2e05f87 commit b47ead9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

var/local/www/db/moode-sqlite3.db.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- File generated with SQLiteStudio v3.4.4 on Fri Dec 6 17:27:58 2024
2+
-- File generated with SQLiteStudio v3.4.4 on Mon Dec 9 18:08:36 2024
33
--
44
-- Text encoding used: UTF-8
55
--
@@ -100,7 +100,7 @@ CREATE TABLE cfg_deezer (id INTEGER PRIMARY KEY, param CHAR (32), value CHAR (32
100100
INSERT INTO cfg_deezer (id, param, value) VALUES (1, 'normalize_volume', 'No');
101101
INSERT INTO cfg_deezer (id, param, value) VALUES (2, 'no_interruptions', 'No');
102102
INSERT INTO cfg_deezer (id, param, value) VALUES (3, 'format', 'S16');
103-
INSERT INTO cfg_deezer (id, param, value) VALUES (4, 'initial_volume', '5');
103+
INSERT INTO cfg_deezer (id, param, value) VALUES (4, 'initial_volume', '10');
104104
INSERT INTO cfg_deezer (id, param, value) VALUES (5, 'RESERVED_5', '');
105105
INSERT INTO cfg_deezer (id, param, value) VALUES (6, 'RESERVED_6', '');
106106
INSERT INTO cfg_deezer (id, param, value) VALUES (7, 'RESERVED_7', '');

www/inc/renderer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ function startDeezer() {
183183
' --name "' . $_SESSION['deezername'] . '"' .
184184
' --device-type "' . 'web' . '"' .
185185
' --device "' . 'ALSA|' . $device . '|' . $rate . '|' . $format . '"' .
186+
' --initial-volume "' . $cfgDeezer['initial_volume'] . '"' .
186187
' --secrets-file "' . DEEZ_CREDENTIALS_FILE . '"' .
187188
$volume_normalization .
188189
$interruption .

0 commit comments

Comments
 (0)