From 21b3fce2664d184e1a0b7b10e8e3bc09043e503d Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Sun, 29 Oct 2023 11:06:28 -0400 Subject: [PATCH] Only show the "Next Episode" button for episodes --- components/video/VideoPlayerView.brs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/video/VideoPlayerView.brs b/components/video/VideoPlayerView.brs index b4f47948..bafcf185 100644 --- a/components/video/VideoPlayerView.brs +++ b/components/video/VideoPlayerView.brs @@ -218,6 +218,9 @@ end sub ' Checks if we need to display the Next Episode button sub checkTimeToDisplayNextEpisode() + ' only display the Next Episode button when the content is type "Episode" + if m.top.content.contenttype <> 4 then return + if int(m.top.position) >= (m.top.duration - 30) showNextEpisodeButton() updateCount()