Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't send audio, if set_receive_sound is False #140

Open
Henning0 opened this issue May 6, 2024 · 0 comments
Open

Can't send audio, if set_receive_sound is False #140

Henning0 opened this issue May 6, 2024 · 0 comments

Comments

@Henning0
Copy link

Henning0 commented May 6, 2024

Hi. Just upgraded from 1.6.1 to the latest git. After that I stumbled upon this:

Traceback (most recent call last):
  File "(...)/pymumble-bot/pymumble-bot.py", line 80, in <module>
    mumble.sound_output.add_sound(raw_audio)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'add_sound'

Since d37c4c7 it seems to be necessary that set_receive_sound is True, if one want to send audio or use anything from sound_output. This kinda contradicts the name of the variable and the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant