Stop spinner when intro video starts & disable intros on playlists

This commit is contained in:
1hitsong 2023-03-23 18:53:08 -04:00
parent e2865cfe5c
commit 25ce0b9e9d
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,9 @@ sub LoadItems_AddVideoContent(video, mediaSourceId, audio_stream_idx = 1, subtit
end if
end if
' For phase 1 of playlist support, we don't support intros yet
showIntro = false
' Don't attempt to play an intro for an intro video
if showIntro
' Do not play intros when resuming playback

View File

@ -337,6 +337,7 @@ function PlayIntroVideo(video_id, audio_stream_idx) as boolean
introVideo.observeField("state", port)
m.global.sceneManager.callFunc("pushScene", introVideo)
introPlaying = true
stopLoadingSpinner()
while introPlaying
msg = wait(0, port)