diff --git a/components/ItemGrid/LoadVideoContentTask.brs b/components/ItemGrid/LoadVideoContentTask.brs index f95756a9..3a41fbf3 100644 --- a/components/ItemGrid/LoadVideoContentTask.brs +++ b/components/ItemGrid/LoadVideoContentTask.brs @@ -17,7 +17,7 @@ sub loadItems() m.top.isIntro = false ' Only show preroll once per queue - if m.global.queueManager.callFunc("prerollActive") + if m.global.queueManager.callFunc("isPrerollActive") ' Prerolls not allowed if we're resuming video if m.global.queueManager.callFunc("getCurrentItem").startingPoint = 0 preRoll = GetIntroVideos(m.top.itemId) diff --git a/components/manager/QueueManager.brs b/components/manager/QueueManager.brs index cfd81f9f..1dd34a23 100644 --- a/components/manager/QueueManager.brs +++ b/components/manager/QueueManager.brs @@ -12,7 +12,7 @@ sub init() m.originalQueue = [] m.queueTypes = [] ' Preroll videos only play if user has cinema mode setting enabled - m.prerollActive = (get_user_setting("playback.cinemamode") = "true") + m.isPrerollActive = (get_user_setting("playback.cinemamode") = "true") m.position = 0 m.shuffleEnabled = false end sub @@ -21,7 +21,7 @@ end sub sub clear() m.queue = [] m.queueTypes = [] - m.prerollActive = (get_user_setting("playback.cinemamode") = "true") + m.isPrerollActive = (get_user_setting("playback.cinemamode") = "true") setPosition(0) end sub @@ -144,14 +144,14 @@ sub pop() m.queueTypes.pop() end sub -' Return prerollActive status -function prerollActive() - return m.prerollActive +' Return isPrerollActive status +function isPrerollActive() as boolean + return m.isPrerollActive end function ' Set prerollActive status sub setPrerollStatus(newStatus) - m.prerollActive = newStatus + m.isPrerollActive = newStatus end sub ' Push new items to the play queue diff --git a/components/manager/QueueManager.xml b/components/manager/QueueManager.xml index 0e831212..f275e49b 100644 --- a/components/manager/QueueManager.xml +++ b/components/manager/QueueManager.xml @@ -15,12 +15,12 @@ + -