Small tweak

This commit is contained in:
Brahim Hadriche committed 2025-09-06 23:25:38 -04:00
1 parent 4363c068d6
commit daf7966f4b
2 files changed
+5 -2

No files matched your search

@@ -462,6 +462,10 @@ function OnVideoPlayerStateChange() as void
nextUrl = playletStreamUrls[playletStreamUrlIndex]
LogError(`Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}`)
if StringUtils.IsNullOrEmpty(nextUrl)
LogError("Next stream URL is empty, cannot try next stream")
end if
content.url = nextUrl
SeekToInitialPosition(content)