mastodon: Avoid playing sounds on first buffer start

This commit is contained in:
Manuel Cortez 2022-11-08 13:49:15 -06:00
parent 9959ac24d9
commit 1e3a0d9b2e
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -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))