You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The update_volume method in the client class does not make sense, in my opinion it should be removed, there is the set_volume method that performs the function correctly.
In my opinion it just makes the use of the library confusing.
The text was updated successfully, but these errors were encountered:
Yes it is confusing. Mostly because of missing documentation.
But there is a fundamental difference: update_volume changes the internal state of the client object only. It is called by server.py when another control client changes the volume and therefore a notificatoon from the server is received. It should never be called by the user as it would lead to a disconnect between the server and the client object. set_volume sends the request to the server and changes the internal state. So this should.be called by the user.
The update_volume method in the client class does not make sense, in my opinion it should be removed, there is the set_volume method that performs the function correctly.
In my opinion it just makes the use of the library confusing.
The text was updated successfully, but these errors were encountered: