Skip to content

set_async on read-only properties #33

@ivan-avalos

Description

@ivan-avalos

Hey! I'm still implementing MPRIS in my music player, and I find myself wanting to notify the clients about changes in the state of the application. Whenever the player does something internally (play, pause, etc.), I want it to be reflected on the clients connected to the player, so I need to set the properties from within. However, it seems like I can't do that without making the properties externally writeable (i.e. by adding setters). Is there a way to add private setters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions