Announcement

Collapse
No announcement yet.

Does setting the PluginStatus to anything NON OK do anything?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Does setting the PluginStatus to anything NON OK do anything?

    I'm testing not allowing the PI to come up, say when the beta trial time is expired or when the user decides to migrate database but other things are not kosher ...

    So I set the status at the end of the "Initialize" callback to critical or fatal with an error message but apart from HS not going through with the initialization, the sonos.exe thread is still running, there is no error anywhere to be seen ...

    Has anyone tried this successfully?


    #2
    I tried this also and could not see any special effects coming back. I am no longer using it other then setting it to PluginStatus.Ok()

    -- Wim

    Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
    650 devices ---- 336 events ----- 40 scripts

    Comment

    Working...
    X