seriesInfo sended to player

This commit is contained in:
nklhrstv 2022-04-18 19:00:45 +03:00
parent 6110ab0338
commit 35c9955725
4 changed files with 8 additions and 6 deletions

6
package-lock.json generated
View file

@ -1833,9 +1833,9 @@
"integrity": "sha512-yT3No1gIWKLV2BhQIeSgG94EzXxmEqXJLulO+pFpziqWNUbmmEKeE+nRvW5wtoIK4SLy+v0bLd0b6HBH3KFfWw=="
},
"@stremio/stremio-core-web": {
"version": "0.32.0",
"resolved": "https://registry.npmjs.org/@stremio/stremio-core-web/-/stremio-core-web-0.32.0.tgz",
"integrity": "sha512-a4FyJYp6J04wwAeJbnFAl8VVc9tbDpiLhFjmmMYdrmiyz907yAVsdYWiB9thFwm84pv9kl12p6jiwl1Me9xaqQ==",
"version": "0.33.0",
"resolved": "https://registry.npmjs.org/@stremio/stremio-core-web/-/stremio-core-web-0.33.0.tgz",
"integrity": "sha512-Ajbcgrlo7jV1lN1ok9/xr1AUwu9lUDSvCA4eGYTK1blIvaBSawovdqvp7EaC7UMN0cJp+J0Jei34oHjmsuRfqg==",
"requires": {
"@babel/runtime": "7.15.4"
},

View file

@ -15,7 +15,7 @@
"@babel/runtime": "7.16.0",
"@sentry/browser": "6.13.3",
"@stremio/stremio-colors": "4.0.1",
"@stremio/stremio-core-web": "0.32.0",
"@stremio/stremio-core-web": "0.33.0",
"@stremio/stremio-icons": "3.0.5",
"@stremio/stremio-video": "0.0.17-rc.3",
"a-color-picker": "1.2.1",

View file

@ -259,11 +259,12 @@ const Player = ({ urlParams, queryParams }) => {
streamingServer.selected.transportUrl
:
null,
chromecastTransport: chromecast.active ? chromecast.transport : null
chromecastTransport: chromecast.active ? chromecast.transport : null,
seriesInfo: player.seriesInfo
}
});
}
}, [streamingServer.baseUrl, player.selected, forceTranscoding, maxAudioChannels, casting]);
}, [streamingServer.baseUrl, player.selected, player.seriesInfo, forceTranscoding, maxAudioChannels, casting]);
useDeepEqualEffect(() => {
if (videoState.stream !== null) {
dispatch({

View file

@ -10,6 +10,7 @@ const init = () => ({
metaItem: null,
subtitles: [],
nextVideoDeepLinks: null,
seriesInfo: null,
libraryItem: null,
title: null,
addon: null,