How can you find the available USB drives available using the GetVolumeList()? I noticed some flash drives need a path using "ext1" and some use "ext2". I think this depends on how the USB drive is formatted. I want to make sure I have the right URL path before I start playing the video on the USB drive. Thanks
So use GetVolumeList(), don't guess. Just exclude the usual suspects (common:, pkg:, tmp and whatever remains is external drive. Btw, i suspect with a USB hub more than 1 devices can be connected so you may get both ext1 and ext2 simultaneously
How do you use the GetVolumeList()? I understand it's an object containing a list of available USB drives. How would I go about using brightscript to achieve this? I understand other languages such as PHP, but I'm having a hard time finding examples for brightscript. I've gone through the SDK examples but would like to find a simple "bare bones" example. If I use a MAC OS Extended (Journaled) USB drive, I need to use ext2 but if the USB is formatted as MS-DOS (FAT) it only works using ext1. I wonder why that is...
Thanks! These simple bare bones examples is what I was looking for. I would have never thought of creating an roFileSystem first. Everything else make complete sense. Thanks again for your help.