Files should end in new line

This commit is contained in:
Charles Ewert 2022-05-30 08:57:40 -04:00
parent d7bd7763f7
commit 2296fde437
29 changed files with 29 additions and 35 deletions

View File

@ -18,4 +18,4 @@ sub getTextSize()
m.top.width = res
end sub
end sub

View File

@ -25,4 +25,4 @@ function onKeyEvent(key as string, press as boolean) as boolean
return true
end if
return false
end function
end function

View File

@ -12,4 +12,4 @@ sub setFavoriteStatus()
UnmarkItemFavorite(m.top.itemId)
end if
end sub
end sub

View File

@ -254,4 +254,4 @@ function onKeyEvent(key as string, press as boolean) as boolean
return false
end function
end function

View File

@ -92,4 +92,4 @@ sub loadItems()
m.top.content = results
end sub
end sub

View File

@ -123,4 +123,4 @@ sub updateOptions()
optionText.visible = false
optionStar.visible = false
end if
end sub
end sub

View File

@ -13,4 +13,4 @@ end sub
' It is expected that screens override this function if required,
' to handle focus any actions required on the screen being hidden
sub OnScreenHidden()
end sub
end sub

View File

@ -1,2 +1,2 @@
sub init()
end sub
end sub

View File

@ -33,4 +33,4 @@ sub setPoster()
end if
end sub
end sub

View File

@ -119,4 +119,4 @@ sub setData()
m.top.iconUrl = "pkg:/images/media_type_icons/live_tv_white.png"
end if
end sub
end sub

View File

@ -4,4 +4,4 @@ sub setFields()
m.top.size = json.size
m.top.height = json.height
m.top.width = json.width
end sub
end sub

View File

@ -70,4 +70,4 @@ sub setContainer()
if m.top.container = "m4v" or m.top.container = "mov"
m.top.container = "mp4"
end if
end sub
end sub

View File

@ -2,4 +2,4 @@ sub init()
end sub
sub press()
end sub
end sub

View File

@ -35,4 +35,4 @@ sub press()
else
set_user_setting(m.top.config_key, m.top.value)
end if
end sub
end sub

View File

@ -229,4 +229,4 @@ end sub
sub dismiss_dialog()
print "Button Pressed"
m.scene.dialog.close = true
end sub
end sub

View File

@ -12,4 +12,4 @@ sub setPoster()
else
m.top.posterURL = ""
end if
end sub
end sub

View File

@ -15,4 +15,4 @@ sub setPoster()
m.top.posterURL = ""
end if
end sub
end sub

View File

@ -60,4 +60,4 @@ end sub
sub setServer(hostname as string)
m.top.server = hostname
end sub
end sub

View File

@ -18,4 +18,4 @@ sub setPoster()
imgParams = { "maxHeight": 440, "maxWidth": 295 }
m.top.posterURL = ImageURL(m.top.json.id, "Primary", imgParams)
end if
end sub
end sub

View File

@ -9,4 +9,4 @@ end sub
sub loadLibraries()
m.top.findNode("homeRows").callFunc("loadLibraries")
end sub
end sub

View File

@ -224,4 +224,4 @@ sub onPosterLoadStatusChanged()
m.itemIcon.visible = true
end if
end if
end sub
end sub

View File

@ -912,4 +912,4 @@ function filterNodeArray(nodeArray as object, nodeKey as string, excludeArray as
end if
end for
return newNodeArray
end function
end function

View File

@ -38,4 +38,4 @@ sub loadProgramDetails()
end if
m.top.programDetails = program
end sub
end sub

View File

@ -30,4 +30,4 @@ sub focusChanged()
m.description.repeatCount = 0
end if
end sub
end sub

View File

@ -30,4 +30,4 @@ sub focusChanged()
m.description.repeatCount = 0
end if
end sub
end sub

View File

@ -8,4 +8,4 @@ sub init()
m.BounceAnimation = m.top.findNode("BounceAnimation")
m.BounceAnimation.control = "start" 'Start BounceAnimation
end sub
end sub

View File

@ -1,3 +1,3 @@
sub init()
m.top.optionsAvailable = false
end sub
end sub

View File

@ -138,4 +138,4 @@ function onKeyEvent(key as string, press as boolean) as boolean
end if
return false
end function
end function

View File

@ -1,6 +1,5 @@
' Set global constants
sub setConstants()
globals = m.screen.getGlobalNode()
' Set Global Constants
@ -21,11 +20,6 @@ sub setConstants()
check_black: "pkg:/images/icons/check_black.png",
check_white: "pkg:/images/icons/check_white.png"
}
}
})
end sub
end sub