jf-roku/components/data/CollectionData.brs

18 lines
346 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.overview = datum.overview
m.top.favorite = datum.UserData.isFavorite
m.top.watched = datum.UserData.played
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