I wrote three simple plugins this week and they are all exhibiting a strange phenomena. It’s probably one error that I’ve propagated with my cut-and-paste development technique. What happens is that every button-driven action apparently includes a request for a random number. See log:
08 04/13/13 14:15:50.922 JobHandler_LuaUPnP::HandleActionRequest device: 96 service: urn:dcineco-com:serviceId:MiLightRGB1 action: ctrl_chr[36;1mOffctrl_chr[0m <0x323a7680>
08 04/13/13 14:15:50.922 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=96 <0x323a7680>
08 04/13/13 14:15:50.923 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dcineco-com:serviceId:MiLightRGB1 <0x323a7680>
08 04/13/13 14:15:50.923 JobHandler_LuaUPnP::HandleActionRequest argument action=Off <0x323a7680>
08 04/13/13 14:15:50.923 JobHandler_LuaUPnP::HandleActionRequest argument rand=0.33794783311896026 <0x323a7680>
Now there is nowhere in my implementaton code where I’m calling for a random number. The request appears on actions both with and without arguments and I can’t see anywhere that I’ve left an orphaned tag or table entry. With the exception of the strange log entry, all the actions are working fine.
Any suggestions as to where I should look for the cause?