Forum Discussion

destruk's avatar
destruk
Streaming Star
10 years ago

roVideoScreen Captions (not available)

So...if your metadata.srt is set to invalid, or you have no captions in the file you are playing, how exactly do you display the message "No Captions Available" in the rovideoscreen?
I would think it would be smart enough to realize no captions are present and display the message but that isn't the case.

2 Replies

  • destruk's avatar
    destruk
    Streaming Star
    If I use the content metadata for SubtitleTracks, I can manually specify a name for "Subtitles Not Available" - but then when I have one member of the associative array the * dialog box says there are 2 tracks to choose from, if I add two then it says there are three, etc etc ?
  • destruk's avatar
    destruk
    Streaming Star
    ok, so in order to get the required message you need to set the subtitleurl metadata to invalid. You can't simply have it set to nothing or "" because then the roku code thinks something is there.