"greubel" wrote:
You would think Roku could provide a flag or a value in the runtime call param.
Actually...
On my Roku 2 XD and my Roku HD, I get an ECP parameter named "source" that gets passed into RunUserInterface with a value of "auto-run-dev". I don't know what the value is for the published version of the channel, but it might be worth investigating, as the "dev" part certainly seems promising.
Sub RunUserInterface(ecp As Dynamic)
print ecp
End Sub
Output:
splashTime: 153
source: auto-run-dev
EDIT: To expand, I get "auto-run-dev" when the channel launches automatically after the side-load. If I launch the side-loaded channel from the home screen, I get "homescreen". So, if you only need logging when you side-load a new version, that may be a worthwhile option.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)