From c8d799cab53f754b9f2eea221bfeec5e74ce196e Mon Sep 17 00:00:00 2001 From: mansoor-roeen-glitch <75437785+mansoor-roeen-glitch@users.noreply.github.com> Date: Mon, 13 Sep 2021 23:59:13 +0530 Subject: [PATCH] Update Movie.js --- src/views/Movie.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/Movie.js b/src/views/Movie.js index 2db26b73..3825ef09 100644 --- a/src/views/Movie.js +++ b/src/views/Movie.js @@ -56,10 +56,10 @@ export function MovieView(props) { } setLoading(true); - getStreamUrl(streamData.slug, streamData.type, streamData.source, season, episode) - .then(({url}) => { - if (cancel) return; + .then(({url, subtitles}) => { + if (cancel) return; + if (streamData.source === "lookmovie") streamData.subtitles = subtitles; setStreamUrl(url) setLoading(false); }) @@ -131,7 +131,7 @@ export function MovieView(props) { Season {season}: Episode {episode} : undefined} - + {streamData.type === "show" ?