From 2dd16830ecce9b7b1c3b4cb7dd2be7d38abe7d7c Mon Sep 17 00:00:00 2001 From: icedream Date: Wed, 21 Oct 2015 16:32:31 +0200 Subject: [PATCH] Fix default volume. --- app.iced | 1 - services/vlc.iced | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app.iced b/app.iced index 9a8a5d8..99d4f4f 100644 --- a/app.iced +++ b/app.iced @@ -53,7 +53,6 @@ if err await module.exports.shutdown defer() process.exit 1 vlc = services.find("vlc").instance -vlc.status.volume 127 # that's 50% (about half of 0xFF) # TeamSpeak3 ts3clientService = services.find("ts3client") diff --git a/services/vlc.iced b/services/vlc.iced index 7a3757c..d0be6c4 100644 --- a/services/vlc.iced +++ b/services/vlc.iced @@ -32,6 +32,7 @@ module.exports = class VLCService extends services.Service "--http-port", config.get("vlc-port"), "--http-password", config.get("vlc-password") "--aout", "pulse", + "--volume", "128", # 50% volume "--no-video" ], stdio: ['ignore', 'pipe', 'pipe']