I am trying to add captions to my episodes in my channel. I see in the SDK documentation, the new specs for adding TTML captions to my channel, but I don't see any documentation on how to add it to your episode XML document. I found on another post the following code that was added to the appVideoScreen.brs:
screen = CreateObject("roVideoScreen")
subtitle_config = {
TrackName: episode.ccURL
}
metadata = {
Stream: {
Url: episode.stream
},
StreamFormat: "hls",
SubtitleConfig: subtitle_config
}
screen.SetContent(metadata)
screen.ShowSubtitle(true)
screen.Show()
but I still can't figure out where I put my caption file url in my episode xml document. I am not very good at this stuff, so any help would be greatly appreciated!
Thanks!