I'm new to MM Addons and the forum. Sorry if this is a duplicate but have not found an answer.
I'm writing a MM5 display Addon with config. My actions_add.js does
Code: Select all
uitools.openDialog('display', .....
My display.html references display.js which does the work when trackChange occurs.
Code: Select all
app.listen(app.player, 'playbackState', displayTrack);
I figured out config.html and config.js.
Question: How do I signal the display dialog window when the addon config is updated?
In display.js I tried
Code: Select all
app.listen(app, 'settingsChange', mysettings);
But this appears to only fire when the user clicks OK on the main MM Options window, not when clicking OK on my addon settings. I checked the app API but did not see a way to send a signal/event.