Fix default volume.

develop
Icedream 2015-10-21 16:32:31 +02:00
parent e4f3e4f2c2
commit 2dd16830ec
2 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,6 @@ if err
await module.exports.shutdown defer() await module.exports.shutdown defer()
process.exit 1 process.exit 1
vlc = services.find("vlc").instance vlc = services.find("vlc").instance
vlc.status.volume 127 # that's 50% (about half of 0xFF)
# TeamSpeak3 # TeamSpeak3
ts3clientService = services.find("ts3client") ts3clientService = services.find("ts3client")

View File

@ -32,6 +32,7 @@ module.exports = class VLCService extends services.Service
"--http-port", config.get("vlc-port"), "--http-port", config.get("vlc-port"),
"--http-password", config.get("vlc-password") "--http-password", config.get("vlc-password")
"--aout", "pulse", "--aout", "pulse",
"--volume", "128", # 50% volume
"--no-video" "--no-video"
], ],
stdio: ['ignore', 'pipe', 'pipe'] stdio: ['ignore', 'pipe', 'pipe']