jf-roku/components/data/search-result.brs

15 lines
274 B
Plaintext
Raw Normal View History

2019-05-03 12:48:59 +00:00
sub setFields()
datum = m.top.json
m.top.id = datum.id
m.top.title = datum.name
m.top.type = datum.Type
end sub
2019-05-03 12:48:59 +00:00
sub setPoster()
if m.top.image <> invalid
m.top.posterURL = m.top.image.url
2019-05-03 12:48:59 +00:00
else
m.top.posterURL = ""
end if
end sub