From 2296fde4371b784664b5551c5133bb476d83e975 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Mon, 30 May 2022 08:57:40 -0400 Subject: [PATCH] Files should end in new line --- components/Buttons/TextSizeTask.brs | 2 +- components/ItemGrid/Alpha.brs | 2 +- components/ItemGrid/FavoriteItemsTask.brs | 2 +- components/ItemGrid/ItemGridOptions.brs | 2 +- components/ItemGrid/LoadItemsTask2.brs | 2 +- components/JFOverhang.brs | 2 +- components/JFScreen.brs | 2 +- components/config/ConfigData.brs | 2 +- components/data/CollectionData.brs | 2 +- components/data/HomeData.brs | 2 +- components/data/ImageData.brs | 2 +- components/data/MovieData.brs | 2 +- components/data/OptionsButton.brs | 2 +- components/data/OptionsData.brs | 2 +- components/data/SceneManager.brs | 2 +- components/data/SearchData.brs | 2 +- components/data/TVSeasonData.brs | 2 +- components/data/UserData.brs | 2 +- components/data/VideoData.brs | 2 +- components/home/Home.brs | 2 +- components/home/HomeItem.brs | 2 +- components/home/HomeRows.brs | 2 +- components/liveTv/LoadProgramDetailsTask.brs | 2 +- components/movies/AudioTrackListItem.brs | 2 +- components/movies/VideoTrackListItem.brs | 2 +- components/screensaver/Screensaver.brs | 2 +- components/search/SearchResults.brs | 2 +- components/settings/settings.brs | 2 +- source/api/constants.brs | 8 +------- 29 files changed, 29 insertions(+), 35 deletions(-) diff --git a/components/Buttons/TextSizeTask.brs b/components/Buttons/TextSizeTask.brs index 0f9c189c..261db0d5 100644 --- a/components/Buttons/TextSizeTask.brs +++ b/components/Buttons/TextSizeTask.brs @@ -18,4 +18,4 @@ sub getTextSize() m.top.width = res -end sub \ No newline at end of file +end sub diff --git a/components/ItemGrid/Alpha.brs b/components/ItemGrid/Alpha.brs index 9b38519f..407eee66 100644 --- a/components/ItemGrid/Alpha.brs +++ b/components/ItemGrid/Alpha.brs @@ -25,4 +25,4 @@ function onKeyEvent(key as string, press as boolean) as boolean return true end if return false -end function \ No newline at end of file +end function diff --git a/components/ItemGrid/FavoriteItemsTask.brs b/components/ItemGrid/FavoriteItemsTask.brs index 527084e7..bfdd1189 100644 --- a/components/ItemGrid/FavoriteItemsTask.brs +++ b/components/ItemGrid/FavoriteItemsTask.brs @@ -12,4 +12,4 @@ sub setFavoriteStatus() UnmarkItemFavorite(m.top.itemId) end if -end sub \ No newline at end of file +end sub diff --git a/components/ItemGrid/ItemGridOptions.brs b/components/ItemGrid/ItemGridOptions.brs index 36268cb0..74eff0cf 100644 --- a/components/ItemGrid/ItemGridOptions.brs +++ b/components/ItemGrid/ItemGridOptions.brs @@ -254,4 +254,4 @@ function onKeyEvent(key as string, press as boolean) as boolean return false -end function \ No newline at end of file +end function diff --git a/components/ItemGrid/LoadItemsTask2.brs b/components/ItemGrid/LoadItemsTask2.brs index 56da7fa7..b147707f 100644 --- a/components/ItemGrid/LoadItemsTask2.brs +++ b/components/ItemGrid/LoadItemsTask2.brs @@ -92,4 +92,4 @@ sub loadItems() m.top.content = results -end sub \ No newline at end of file +end sub diff --git a/components/JFOverhang.brs b/components/JFOverhang.brs index 2aff6209..ab779a6a 100644 --- a/components/JFOverhang.brs +++ b/components/JFOverhang.brs @@ -123,4 +123,4 @@ sub updateOptions() optionText.visible = false optionStar.visible = false end if -end sub \ No newline at end of file +end sub diff --git a/components/JFScreen.brs b/components/JFScreen.brs index 068c7fdc..4bda351d 100644 --- a/components/JFScreen.brs +++ b/components/JFScreen.brs @@ -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 \ No newline at end of file +end sub diff --git a/components/config/ConfigData.brs b/components/config/ConfigData.brs index 7f3fb8d3..e317bb6b 100644 --- a/components/config/ConfigData.brs +++ b/components/config/ConfigData.brs @@ -1,2 +1,2 @@ sub init() -end sub \ No newline at end of file +end sub diff --git a/components/data/CollectionData.brs b/components/data/CollectionData.brs index ba983bdf..5cc1d245 100644 --- a/components/data/CollectionData.brs +++ b/components/data/CollectionData.brs @@ -33,4 +33,4 @@ sub setPoster() end if -end sub \ No newline at end of file +end sub diff --git a/components/data/HomeData.brs b/components/data/HomeData.brs index 81a56940..a5d1489b 100644 --- a/components/data/HomeData.brs +++ b/components/data/HomeData.brs @@ -119,4 +119,4 @@ sub setData() m.top.iconUrl = "pkg:/images/media_type_icons/live_tv_white.png" end if -end sub \ No newline at end of file +end sub diff --git a/components/data/ImageData.brs b/components/data/ImageData.brs index 5ed782d3..80ce1f74 100644 --- a/components/data/ImageData.brs +++ b/components/data/ImageData.brs @@ -4,4 +4,4 @@ sub setFields() m.top.size = json.size m.top.height = json.height m.top.width = json.width -end sub \ No newline at end of file +end sub diff --git a/components/data/MovieData.brs b/components/data/MovieData.brs index 93a62f40..4bfcbfbc 100644 --- a/components/data/MovieData.brs +++ b/components/data/MovieData.brs @@ -70,4 +70,4 @@ sub setContainer() if m.top.container = "m4v" or m.top.container = "mov" m.top.container = "mp4" end if -end sub \ No newline at end of file +end sub diff --git a/components/data/OptionsButton.brs b/components/data/OptionsButton.brs index 4696dd73..f40bd6c7 100644 --- a/components/data/OptionsButton.brs +++ b/components/data/OptionsButton.brs @@ -2,4 +2,4 @@ sub init() end sub sub press() -end sub \ No newline at end of file +end sub diff --git a/components/data/OptionsData.brs b/components/data/OptionsData.brs index 5c44c6c4..416d60ab 100644 --- a/components/data/OptionsData.brs +++ b/components/data/OptionsData.brs @@ -35,4 +35,4 @@ sub press() else set_user_setting(m.top.config_key, m.top.value) end if -end sub \ No newline at end of file +end sub diff --git a/components/data/SceneManager.brs b/components/data/SceneManager.brs index bd588ed5..36199389 100755 --- a/components/data/SceneManager.brs +++ b/components/data/SceneManager.brs @@ -229,4 +229,4 @@ end sub sub dismiss_dialog() print "Button Pressed" m.scene.dialog.close = true -end sub \ No newline at end of file +end sub diff --git a/components/data/SearchData.brs b/components/data/SearchData.brs index d208121b..70ee9f2a 100644 --- a/components/data/SearchData.brs +++ b/components/data/SearchData.brs @@ -12,4 +12,4 @@ sub setPoster() else m.top.posterURL = "" end if -end sub \ No newline at end of file +end sub diff --git a/components/data/TVSeasonData.brs b/components/data/TVSeasonData.brs index 42a6d148..0047b329 100644 --- a/components/data/TVSeasonData.brs +++ b/components/data/TVSeasonData.brs @@ -15,4 +15,4 @@ sub setPoster() m.top.posterURL = "" end if -end sub \ No newline at end of file +end sub diff --git a/components/data/UserData.brs b/components/data/UserData.brs index 9a373099..9d23d982 100644 --- a/components/data/UserData.brs +++ b/components/data/UserData.brs @@ -60,4 +60,4 @@ end sub sub setServer(hostname as string) m.top.server = hostname -end sub \ No newline at end of file +end sub diff --git a/components/data/VideoData.brs b/components/data/VideoData.brs index 49bda877..bcfad50a 100644 --- a/components/data/VideoData.brs +++ b/components/data/VideoData.brs @@ -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 \ No newline at end of file +end sub diff --git a/components/home/Home.brs b/components/home/Home.brs index 49f98e27..ea72fbca 100644 --- a/components/home/Home.brs +++ b/components/home/Home.brs @@ -9,4 +9,4 @@ end sub sub loadLibraries() m.top.findNode("homeRows").callFunc("loadLibraries") -end sub \ No newline at end of file +end sub diff --git a/components/home/HomeItem.brs b/components/home/HomeItem.brs index 41908c0b..fa8b186e 100644 --- a/components/home/HomeItem.brs +++ b/components/home/HomeItem.brs @@ -224,4 +224,4 @@ sub onPosterLoadStatusChanged() m.itemIcon.visible = true end if end if -end sub \ No newline at end of file +end sub diff --git a/components/home/HomeRows.brs b/components/home/HomeRows.brs index 7b7335ed..30b8a355 100644 --- a/components/home/HomeRows.brs +++ b/components/home/HomeRows.brs @@ -912,4 +912,4 @@ function filterNodeArray(nodeArray as object, nodeKey as string, excludeArray as end if end for return newNodeArray -end function \ No newline at end of file +end function diff --git a/components/liveTv/LoadProgramDetailsTask.brs b/components/liveTv/LoadProgramDetailsTask.brs index 7eb7afd5..06743421 100644 --- a/components/liveTv/LoadProgramDetailsTask.brs +++ b/components/liveTv/LoadProgramDetailsTask.brs @@ -38,4 +38,4 @@ sub loadProgramDetails() end if m.top.programDetails = program -end sub \ No newline at end of file +end sub diff --git a/components/movies/AudioTrackListItem.brs b/components/movies/AudioTrackListItem.brs index 9c6d5af9..54eac58e 100644 --- a/components/movies/AudioTrackListItem.brs +++ b/components/movies/AudioTrackListItem.brs @@ -30,4 +30,4 @@ sub focusChanged() m.description.repeatCount = 0 end if -end sub \ No newline at end of file +end sub diff --git a/components/movies/VideoTrackListItem.brs b/components/movies/VideoTrackListItem.brs index 9c6d5af9..54eac58e 100644 --- a/components/movies/VideoTrackListItem.brs +++ b/components/movies/VideoTrackListItem.brs @@ -30,4 +30,4 @@ sub focusChanged() m.description.repeatCount = 0 end if -end sub \ No newline at end of file +end sub diff --git a/components/screensaver/Screensaver.brs b/components/screensaver/Screensaver.brs index 3a6e0ec1..9019b938 100644 --- a/components/screensaver/Screensaver.brs +++ b/components/screensaver/Screensaver.brs @@ -8,4 +8,4 @@ sub init() m.BounceAnimation = m.top.findNode("BounceAnimation") m.BounceAnimation.control = "start" 'Start BounceAnimation -end sub \ No newline at end of file +end sub diff --git a/components/search/SearchResults.brs b/components/search/SearchResults.brs index 8a75cc1f..498f96ec 100644 --- a/components/search/SearchResults.brs +++ b/components/search/SearchResults.brs @@ -1,3 +1,3 @@ sub init() m.top.optionsAvailable = false -end sub \ No newline at end of file +end sub diff --git a/components/settings/settings.brs b/components/settings/settings.brs index 8bf92dc3..e816b834 100644 --- a/components/settings/settings.brs +++ b/components/settings/settings.brs @@ -138,4 +138,4 @@ function onKeyEvent(key as string, press as boolean) as boolean end if return false -end function \ No newline at end of file +end function diff --git a/source/api/constants.brs b/source/api/constants.brs index 340287d3..d52853f6 100644 --- a/source/api/constants.brs +++ b/source/api/constants.brs @@ -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 \ No newline at end of file +end sub