My private channel plays videos from an attached USB thumb drive. Before I play the videos I want to make sure the video is loaded on the thumb drive. I'm trying to use the following code
fg = createObject("roFileSystem")
if (fg.Exists("file://ext1:/test.mov"))
print "it found it"
end if
the above code worked on my older channels but coding with the new RSG format it doesn't seem to work. Is there another way to check for files on a loaded USB drive?
Thanks