rahims/SoCo

mute and volume functions

bioken opened this issue · 2 comments

Hi,
I moved all my stuff from my macbook air (working fine) to my imac. I now get the following error for mute ('bool' object is not callable) and a similar one for volume ('int' object is not callable).

After some browsing and testing it seems that using the function
sonos.mute which declares an internal variable as mute, causes the inconsistency between callable function and variable. If I change the function name from mute to mutt all is fine. Or other way around, change the internal variable from mute to muted again all is good. You may want to consider an update here in case my observation is correct. Same goes for volume but I don't know if it occurs elsewhere too.

Cheers

Ken

Can you please provide some code that produces this error?

Hi @bioken

All development of SoCo has moved to https://github.com/SoCo/SoCo. Please re-postyour question there. We also have a google group and an IRC channel which are the preferred media for support.