Well, it would be out of the context of the surrounding code and data structures, so I don't know how much it would help, I actually did post a slightly sanitized version of it last time I mentioned this topic. I essentially track reboots down by putting a print statement on every line in the area where the reboot happens. The last one to actually print gives me an idea what the line is.
?m.api+"/tracks.xml"+m.ckey+"&limit="+lim.tostr()+"&offset="+ofs.tostr()+"&order=hotness"
printing this will usually cause a reboot. So instead I print:
"/tracks.xml"+m.ckey+"&limit="+lim.tostr()+"&offset="+ofs.tostr()+"&order=hotness"
Without the
http://api.servername.com printing, there is no reboot.
More from the same function, note the commented out line in red - that's where another 100% repeatable reboot occured (which is why it is commented out )
m.url=m.api+"/tracks.xml"+m.ckey+"&limit="+lim.tostr()+"&offset="+ofs.tostr()+"&order=hotness"
' ?"/tracks.xml"+m.ckey+"&limit="+lim.tostr()+"&offset="+ofs.tostr()+"&order=hotness"
? "set m.urlxfer"
m.xfer.setURL(m.url)
? "set m.xferresult"
m.xferResult= m.xfer.GetToString()
'?now 'printthe result, actually don't because this will kill the roku"
'print"transfer-result"+m.xferResultedit - more last night I posted this thread because I was attempting to make changes to the m.url line and when I duplicated the changes to the ? "/tracks.xml..." line - without the http:// - I got a reboot.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!