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" ?