We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! cdsp = CamillaClient("127.0.0.1", port) cdsp.connect() current_mute = cdsp.mute.toggle_fader(0) print(f"Current Mute: {current_mute}")
Throws an error: OSError: Invalid response received: '{"Invalid":{"error":"invalid type: integer 0, expected unit at line 1 column 16"}}'
0
I tried to debug it myself, unfortunately without success.
def toggle_fader(self, fader: int) -> bool: _fader, new_mute = self.client.query("SetFaderMute", arg=int(fader)) // SetFaderMute ToggleMute return new_mute
"SetFaderMute" seems a bit strange there, but "ToggleFader" doesn't work either.
The text was updated successfully, but these errors were encountered:
Thanks for reporting! That's a copy-paste error, the command is supposed to be "ToggleFaderMute". I fixed it and added some tests here: #30
Sorry, something went wrong.
This is now fixed in the v2.0.2 release.
No branches or pull requests
Hello!
cdsp = CamillaClient("127.0.0.1", port)
cdsp.connect()
current_mute = cdsp.mute.toggle_fader(0)
print(f"Current Mute: {current_mute}")
Throws an error: OSError: Invalid response received: '{"Invalid":{"error":"invalid type: integer
0
, expected unit at line 1 column 16"}}'I tried to debug it myself, unfortunately without success.
"SetFaderMute" seems a bit strange there, but "ToggleFader" doesn't work either.
The text was updated successfully, but these errors were encountered: