Can't start sync via API / broadcast

Issue description:

I’m trying to use the Automate app to trigger daily syncs but I’m having no luck. In the Symfonium log I see:

2023-04-25 11:22:16.934 Verbose/ApiReceiver: API call: app.symfonium.api.MEDIA_SYNC - PROVIDER_ID : 5.0

But the sync never happens.

In Automate I’m sending the following for “Extras”:

{"PROVIDER_ID": 5}

What am I doing worng?

Logs:

debug-20230425_112421.zip (5.3 KB)

Additional information:

I’ve successfully used Automate to trigger a MEDIA_START event, so it’s not an (obvious) issue with Automate.

Well damn, finally figured it out. I needed to cast the provider value as an int:

{"PROVIDER_ID" as int: 5}

That was not very obvious in the Automate docs.

Sorry for the spam.

Maybe you can paste the full image of the configuration for other users?

Here’s screenshots of my Automate morning music sync: