jf-roku/components/data/TVEpisodeData.bs

19 lines
400 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.showID = datum.SeriesID
m.top.seasonID = datum.SeasonID
m.top.overview = datum.overview
m.top.favorite = datum.UserData.isFavorite
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