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: 
kyleabaker
Visitor

SubtitleTracks on usb

I'm trying to understand how to use SubtitleTracks in roVideoScreen, but haven't quite figured it out yet. So far I'm creating:

o.SubtitleTracks = {
Language: "English"
Description: ""
TrackName: "ext1:/test.srt"
}


I now see options in roVideoScreen for closed captions, however, they are not displaying and it appears that this path is not being used. Instead I'm seeing something like the following in the debug console:

Unknown event type: 35 msg: /tmp/plugin/EHACVBnoXni5/ext1:/test.srt


I'm sure I should be able to sideload srt subtitles from a usb drive. Any tips?

Also, how am I to load multiple subtitle tracks (for different languages)?
0 Kudos
1 REPLY 1
destruk
Binge Watcher

Re: SubtitleTracks on usb

Try using "file://ext1:/test.srt"
0 Kudos