Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
lwong
Level 7

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
destruk
Level 10

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
Level 7

Re: where is usbplayer application?

Thanks! THERE IT IS! Smiley Happy
0 Kudos