As @gregkinney discovered here, in my Roku plugin, if you invoke “Synchronize Devices” once, it works fine, but if you do it a second time, in one of the debug output lines you get an error that “SupportedMediaCommands is null”. I was able to reproduce this by starting a new project, loading the plugin, and then doing Synchronize Devices twice on the Roku device object. I can’t seem to see where there might be a bug in the code, so I wonder if there is something different/wrong with the Home Remote state that changes between the two invocations? Interestingly, from the console output, problem actually occurs in onConnect()
after onSynchronizeDevices()
is successfully run.
This will be fixed in the 3.6.0 release.
1 Like