mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Prevent MPV from loading user config/scripts (#247)
This commit is contained in:
parent
6e62448b88
commit
d9049ed066
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ const prefetchPlaylistParams = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const DEFAULT_MPV_PARAMETERS = (extraParameters?: string[]) => {
|
const DEFAULT_MPV_PARAMETERS = (extraParameters?: string[]) => {
|
||||||
const parameters = ['--idle=yes'];
|
const parameters = ['--idle=yes', '--no-config', '--load-scripts=no'];
|
||||||
|
|
||||||
if (!extraParameters?.some((param) => prefetchPlaylistParams.includes(param))) {
|
if (!extraParameters?.some((param) => prefetchPlaylistParams.includes(param))) {
|
||||||
parameters.push('--prefetch-playlist=yes');
|
parameters.push('--prefetch-playlist=yes');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue