I don't understand how to specify
multiple thumbnails (HD and SD) for a single <item> in my MRSS feed. I'm using <media:thumbnail url="xxxx.jpg" /> to call one thumbnail for each <item>; what's the syntax to call
multiple, thumbnails (one HD, the other SD) for a single <item>?
I'm using Roku's MRSS template; I'm aware of that snippet (below) in NWM_MRSS.brs calls the thumbnails from the MRSS feed, but I don't understand how to specify "newItem.sdPosterURL" and "newItem.hdPosterURL" in my MRSS file.
' thumbnail
tmp = item.GetNamedElements("media:thumbnail")
if tmp.Count() > 0
newItem.sdPosterURL = ValidStr(tmp[0]@url)
newItem.hdPosterURL = ValidStr(tmp[0]@url)
else if item.GetNamedElements("media:group").Count() > 0
tmp = item.GetNamedElements("media:group")[0].GetNamedElements("media:thumbnail")
if tmp.Count() > 0
newItem.sdPosterURL = ValidStr(tmp[0]@url)
newItem.hdPosterURL = ValidStr(tmp[0]@url)
end if
else if xml.channel.image.url.Count() > 0
newItem.sdPosterURL = ValidStr(xml.channel.image.url.GetText())
newItem.hdPosterURL = ValidStr(xml.channel.image.url.GetText())
end if
I'm sure this is a beginner's question; thanks for the help.