1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-11-15 20:57:16 +00:00

Enable volume slider again

Add volume number
Move love button to song info box
This commit is contained in:
SuperBFG7
2021-06-17 09:55:45 +02:00
parent 86586fbcee
commit 28844275e6
3 changed files with 36 additions and 18 deletions

View File

@@ -736,6 +736,7 @@ function webSocketConnect() {
obj.data.elapsedTime - elapsed_minutes * 60;
$('#volumeslider').slider(obj.data.volume);
$('#volume-number').text(obj.data.volume + '%');
var progress = Math.floor(
(100 * obj.data.elapsedTime) / obj.data.totalTime
);