I created a channel from the videoplayer example as a developer. I'm now updating the xml files which are stored on my web server, but they aren't updating. I changed a ton of stuff, but it's almost as though the xml is cached on the box and is never coming off. How do I make it not cache? I've tried turning the box off and on. I've tried renaming the xml file, and it still loads...
gonzotek, could I have it link to a php file that generates the xml?
yungblood, it's loading the xml file on the server, because when I update the package it will update like it's suppose to. However if I change the xml without updating the package, then it doesn't update, as though the xml was cached until I upload a new package.
If you have other parameters (e.g. http://server.com/xmlgen.php?genre=comedy) use an ampersand(vs. a question mark) to append additional params:
'dt is our date object
dt = CreateObject("roDateTime")
'mark sets dt to the current date/time
url = "http://server.com/xml_generator.php"
'AsSeconds returns the current date/time as the number of seconds from epoch (1/1/1970),
'ToStr converts the number of seconds to a string
url = url + "?ts=" + dt.AsSeconds().ToStr()
http://server.com/xmlgen.php?genre=comedy&ts=TIMESTAMP_HERENote: I haven't tested the above script for accuracy, I'm not near a Roku right now.