Skip to content

Commit 2fc96b2

Browse files
committed
fixed connectionerror message being sent after every playback jellyfin#348
1 parent d8ff200 commit 2fc96b2

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

package-lock.json

+9-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@
7070
"url": "git+https://github.com/jellyfin/jellyfin-chromecast.git"
7171
},
7272
"scripts": {
73-
"build:development": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=development",
74-
"build:production": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=production",
73+
"build:development": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=development",
74+
"build:production": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --mode=production",
7575
"lint": "npm run lint:code && npm run lint:css && npm run prettier",
7676
"lint:code": "eslint --ext .ts,.js,.json .",
7777
"lint:css": "stylelint **/*.css",
7878
"prepare": "npm run build:production",
7979
"prettier": "prettier --check .",
80-
"start": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack serve --config webpack.config.ts",
80+
"start": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack serve --config webpack.config.ts",
8181
"test": "jest",
82-
"watch": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --watch"
82+
"watch": "cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --config webpack.config.ts --watch"
8383
}
8484
}

src/components/maincontroller.ts

-1
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,6 @@ export async function onStopPlayerBeforePlaybackDone(
607607
});
608608

609609
playbackMgr.playItemInternal(data, options);
610-
broadcastConnectionErrorMessage();
611610
}
612611

613612
let lastBitrateDetect = 0;

0 commit comments

Comments
 (0)