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
|
|
|
|
|
2019-05-10 04:24:19 +00:00
|
|
|
setPoster()
|
|
|
|
end sub
|
|
|
|
|
|
|
|
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
|
2019-05-10 04:24:19 +00:00
|
|
|
|
2019-05-03 12:48:59 +00:00
|
|
|
end sub
|