mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 06:09:41 +00:00
update function definitions
This commit is contained in:
parent
b41e08f232
commit
7b37ca11db
@ -157,8 +157,7 @@ sub clearErrorMessage()
|
||||
m.top.errorMessage = ""
|
||||
end sub
|
||||
|
||||
' JFScreen hook.
|
||||
' Used to show logo, update the focus, the state of the data, and tells the server about the device profile.
|
||||
' JFScreen hook called when the screen is displayed by the screen manager
|
||||
sub OnScreenShown()
|
||||
scene = m.top.getScene()
|
||||
overhang = scene.findNode("overhang")
|
||||
|
@ -30,8 +30,7 @@ sub loadLibraries()
|
||||
m.fadeInFocusBitmap.control = "start"
|
||||
end sub
|
||||
|
||||
' JFScreen hook.
|
||||
' Used to show logo, update the focus, the state of the data, and tells the server about the device profile.
|
||||
' JFScreen hook called when the screen is displayed by the screen manager
|
||||
sub OnScreenShown()
|
||||
scene = m.top.getScene()
|
||||
overhang = scene.findNode("overhang")
|
||||
@ -61,8 +60,7 @@ sub OnScreenShown()
|
||||
end if
|
||||
end sub
|
||||
|
||||
' JFScreen hook.
|
||||
' Remove the Jellyfin logo and left seperator from the overhang
|
||||
' JFScreen hook called when the screen is hidden by the screen manager
|
||||
sub OnScreenHidden()
|
||||
scene = m.top.getScene()
|
||||
overhang = scene.findNode("overhang")
|
||||
|
@ -94,7 +94,12 @@ sub processUserSections()
|
||||
' Add home sections in order based on user settings
|
||||
loadedSections = 0
|
||||
for i = 0 to 6
|
||||
sectionName = LCase(m.global.session.user.settings["homesection" + i.toStr()])
|
||||
sectionName = m.global.session.user.settings["homesection" + i.toStr()]
|
||||
if isValid(sectionName)
|
||||
sectionName = LCase(sectionName)
|
||||
else
|
||||
exit for
|
||||
end if
|
||||
sectionLoaded = false
|
||||
if sectionName <> "none"
|
||||
sectionLoaded = addHomeSection(sectionName)
|
||||
|
@ -24,8 +24,7 @@ sub redraw()
|
||||
m.top.findNode("UserRow").translation = [leftBorder, topBorder]
|
||||
end sub
|
||||
|
||||
' JFScreen hook.
|
||||
' Used to show logo, update the focus, the state of the data, and tells the server about the device profile.
|
||||
' JFScreen hook called when the screen is displayed by the screen manager
|
||||
sub OnScreenShown()
|
||||
scene = m.top.getScene()
|
||||
overhang = scene.findNode("overhang")
|
||||
|
Loading…
Reference in New Issue
Block a user