I was wondering why the server class doesn't update when something changes in snapcast. So I investigated a bit further and discovered that the data_received function
|
def data_received(self, data): |
doesn't get called when data should come in.
But when I send data to the server (e.g. change volume) the data_received function is triggered, before data gets send out. And surprise: the received data is exactly the notification I expected a bit earlier.
I have absolutly no idea how that can happen and how to fix it - thats beyond my python knowledge.
Is this something inherent to my systems or is somebody else having the same issues?
What could be done to solve this?
I was wondering why the server class doesn't update when something changes in snapcast. So I investigated a bit further and discovered that the data_received function
python-snapcast/snapcast/control/protocol.py
Line 38 in 434d121
But when I send data to the server (e.g. change volume) the data_received function is triggered, before data gets send out. And surprise: the received data is exactly the notification I expected a bit earlier.
I have absolutly no idea how that can happen and how to fix it - thats beyond my python knowledge.
Is this something inherent to my systems or is somebody else having the same issues?
What could be done to solve this?