mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
mastodon: Avoid playing sounds on first buffer start
This commit is contained in:
parent
9959ac24d9
commit
1e3a0d9b2e
@ -69,6 +69,6 @@ class Handler(object):
|
|||||||
|
|
||||||
def start_buffer(self, controller, buffer):
|
def start_buffer(self, controller, buffer):
|
||||||
try:
|
try:
|
||||||
buffer.start_stream()
|
buffer.start_stream(play_sound=False)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
log.exception("Error %s starting buffer %s on account %s, with args %r and kwargs %r." % (str(err), buffer.name, buffer.account, buffer.args, buffer.kwargs))
|
log.exception("Error %s starting buffer %s on account %s, with args %r and kwargs %r." % (str(err), buffer.name, buffer.account, buffer.args, buffer.kwargs))
|
Loading…
Reference in New Issue
Block a user