Skip to content

Commit

Permalink
Merge pull request #438 from jellyfin/renovate/chromecast-caf-receive…
Browse files Browse the repository at this point in the history
…r-6.x
  • Loading branch information
nielsvanvelzen authored Sep 23, 2023
2 parents dd2fc1c + 12ba510 commit fa22b1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"axios": "1.5.0"
},
"devDependencies": {
"@types/chromecast-caf-receiver": "5.0.15",
"@types/chromecast-caf-receiver": "6.0.10",
"@types/jest": "29.5.5",
"@types/node": "18.17.17",
"@types/webpack": "5.28.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/maincontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ window.playerManager.addEventListener(
cast.framework.events.EventType.PLAYER_LOAD_COMPLETE,
() => {
setTextTrack(
window.playerManager.getMediaInformation().customData
window.playerManager.getMediaInformation()?.customData
.subtitleStreamIndex
);
}
Expand Down Expand Up @@ -463,7 +463,7 @@ export async function changeStream(
params: any = undefined
): Promise<void> {
if (
window.playerManager.getMediaInformation().customData.canClientSeek &&
window.playerManager.getMediaInformation()?.customData.canClientSeek &&
params == null
) {
window.playerManager.seek(ticks / 10000000);
Expand Down

0 comments on commit fa22b1c

Please sign in to comment.