fix: fix LiveTV loading not hide on fail

This commit is contained in:
Dmitry Lyzo
2022-10-27 22:55:27 +03:00
parent eb463c0adb
commit b192795c90
+6 -1
View File
@@ -2286,7 +2286,12 @@ class PlaybackManager {
.then((bitrate) => {
return playAfterBitrateDetect(bitrate, item, playOptions, onPlaybackStartedFn, prevSource);
})
.catch(onInterceptorRejection);
.catch(onInterceptorRejection)
.finally(() => {
if (playOptions.fullscreen) {
loading.hide();
}
});
}
function cancelPlayback() {