Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lwong
Visitor

where is usbplayer application?

Hello everyone,

I did a couple of searches in the SDK, around the forum, and using Google, but cannot find the sample application: usbplayer. Where can I find this sample application?

I'm hoping to look at the sample to solve an error that I'm getting.

In case anyone has came across this, does anything know why I'm getting the following error message in the console?
BRIGHTSCRIPT: ERROR: roFilesystem: no plugin instance available:

The error happens on calling getVolumeList() below:
function createVolumeContentNode()
  fs = createObject("roFileSystem")
  volumesList = []
  for each vol in fs.getVolumeList()
    kv0 = CreateObject("roAssociativeArray")
    kv0.AddReplace("TITLE", vol)
    kv0.AddReplace("HDLISTITEMICONURL","")
    kv0.AddReplace("HDLISTITEMICONSELECTEDURL","")
    volumesList.Push(kv0)
  end for
  return createContentNode(volumesList)
end function


Thanks!
0 Kudos
2 REPLIES 2
destruk
Binge Watcher

Re: where is usbplayer application?

https://sourceforge.net/p/rokusdkexampl ... ree/trunk/
Click on "Download Snapshot" and the code is in there for usbplayer.
0 Kudos
lwong
Visitor

Re: where is usbplayer application?

Thanks! THERE IT IS! 🙂
0 Kudos