Merge pull request #1127 from 1hitsong/stopSpinnerOnIntros
Stop spinner when intro video starts & disable intros on playlists
This commit is contained in:
commit
9d6796e7e6
|
@ -70,6 +70,9 @@ sub LoadItems_AddVideoContent(video, mediaSourceId, audio_stream_idx = 1, subtit
|
||||||
end if
|
end if
|
||||||
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
|
' Don't attempt to play an intro for an intro video
|
||||||
if showIntro
|
if showIntro
|
||||||
' Do not play intros when resuming playback
|
' Do not play intros when resuming playback
|
||||||
|
|
|
@ -337,6 +337,7 @@ function PlayIntroVideo(video_id, audio_stream_idx) as boolean
|
||||||
introVideo.observeField("state", port)
|
introVideo.observeField("state", port)
|
||||||
m.global.sceneManager.callFunc("pushScene", introVideo)
|
m.global.sceneManager.callFunc("pushScene", introVideo)
|
||||||
introPlaying = true
|
introPlaying = true
|
||||||
|
stopLoadingSpinner()
|
||||||
|
|
||||||
while introPlaying
|
while introPlaying
|
||||||
msg = wait(0, port)
|
msg = wait(0, port)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user