Skip to content

Data reception for notifications #34

Open
@TheIdenty

Description

@TheIdenty

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions