mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-27 00:10:43 +00:00
18 lines
408 B
Plaintext
18 lines
408 B
Plaintext
sub setTitle()
|
|
m.top.findNode("titleArea").primaryTitle = m.top.title
|
|
end sub
|
|
|
|
sub setOverview()
|
|
m.top.findNode("description").text = m.top.overview
|
|
end sub
|
|
|
|
function onKeyEvent(key as string, press as boolean) as boolean
|
|
if press = false then return false
|
|
|
|
if key = "OK" and m.top.findNode("contentArea").isInFocusChain()
|
|
m.top.close = true
|
|
end if
|
|
|
|
return false
|
|
end function
|