Skip to content

Commit

Permalink
fixed connectionerror message being sent after every playback jellyfi…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsleiman committed Jan 2, 2022
1 parent d8ff200 commit 2fc96b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 9 additions & 3 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
"url": "git+https://github.com/jellyfin/jellyfin-chromecast.git"
},
"scripts": {
"build:development": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=development",
"build:production": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=production",
"build:development": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=development",
"build:production": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=production",
"lint": "npm run lint:code && npm run lint:css && npm run prettier",
"lint:code": "eslint --ext .ts,.js,.json .",
"lint:css": "stylelint **/*.css",
"prepare": "npm run build:production",
"prettier": "prettier --check .",
"start": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack serve --config webpack.config.ts",
"start": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack serve --config webpack.config.ts",
"test": "jest",
"watch": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --watch"
"watch": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --watch"
}
}
1 change: 0 additions & 1 deletion src/components/maincontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,6 @@ export async function onStopPlayerBeforePlaybackDone(
});

playbackMgr.playItemInternal(data, options);
broadcastConnectionErrorMessage();
}

let lastBitrateDetect = 0;
Expand Down

0 comments on commit 2fc96b2

Please sign in to comment.