mirror of https://github.com/icedream/ts3bot.git
ts3client: Enforce blank playback profile.
parent
a55c1eee30
commit
d3cc87cf81
|
@ -192,8 +192,8 @@ module.exports = class TS3ClientService extends services.Service
|
||||||
# Delete bookmarks to prevent auto-connect bookmarks from weirding out the client
|
# Delete bookmarks to prevent auto-connect bookmarks from weirding out the client
|
||||||
await ts3settings.query "delete * from Bookmarks", defer()
|
await ts3settings.query "delete * from Bookmarks", defer()
|
||||||
|
|
||||||
# Delete default playback settings to enforce muted playback later on
|
# Delete all profiles so we can enforce our own
|
||||||
await ts3settings.query "delete * from Profiles where key=\"Playback/Default\"", defer()
|
await ts3settings.query "delete * from Profiles", defer()
|
||||||
|
|
||||||
# Let's make sure we have an identity!
|
# Let's make sure we have an identity!
|
||||||
force = ts3settings.getIdentitiesSize() <= 0 or config.get("identity-path")
|
force = ts3settings.getIdentitiesSize() <= 0 or config.get("identity-path")
|
||||||
|
@ -245,7 +245,7 @@ module.exports = class TS3ClientService extends services.Service
|
||||||
[ "Plugins", "lua_plugin", "false" ]
|
[ "Plugins", "lua_plugin", "false" ]
|
||||||
[ "Plugins", "test_plugin", "false" ]
|
[ "Plugins", "test_plugin", "false" ]
|
||||||
[ "Plugins", "ts3g15", "false" ]
|
[ "Plugins", "ts3g15", "false" ]
|
||||||
[ "Profiles", "DefaultPlaybackProfile", "" ]
|
# Intentionally leaving out DefaultPlaybackProfile so TS3Client will trick itself into using the blank profile
|
||||||
[ "Profiles", "Playback/", {} ]
|
[ "Profiles", "Playback/", {} ]
|
||||||
[ "Profiles", "DefaultCaptureProfile", "Default" ]
|
[ "Profiles", "DefaultCaptureProfile", "Default" ]
|
||||||
[ "Profiles", "Capture/Default", {
|
[ "Profiles", "Capture/Default", {
|
||||||
|
|
Loading…
Reference in New Issue