mirror of https://github.com/icedream/ts3bot.git
Fix default volume.
parent
e4f3e4f2c2
commit
2dd16830ec
1
app.iced
1
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")
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue