Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questionable parameters in 'monitored_event' BCP messages #1849

Open
arthurkehrwald opened this issue Oct 29, 2024 · 0 comments
Open

Questionable parameters in 'monitored_event' BCP messages #1849

arthurkehrwald opened this issue Oct 29, 2024 · 0 comments

Comments

@arthurkehrwald
Copy link

MPF version: 0.57.3
If a media controller previously asked to be notified about MPF events using the command monitor_start?category=events, MPF will send a message with the command monitored_event and a parameter event_name containing the name of the event each time an event is triggered is in MPF. So far so good. There are several other parameters passed in these messages though. Here's an example:

{
    "event_name": "modes_active_modes_changed",
    "event_type": null,
    "event_callback": null,
    "event_kwargs": {},
    "registered_handlers": [
        [
            "<bound method BcpInterface._send_mode_list of <BCP Interface>>",
            1,
            {},
            "0b19a5ba-2f73-4c47-b6a3-a8f8628eaeba",
            null,
            null
        ]
    ]
}

Is this intentional? I cannot imagine how these other parameters could possibly ever be useful in a media controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant