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 parameters = ['--idle=yes'];
|
||||
const parameters = ['--idle=yes', '--no-config', '--load-scripts=no'];
|
||||
|
||||
if (!extraParameters?.some((param) => prefetchPlaylistParams.includes(param))) {
|
||||
parameters.push('--prefetch-playlist=yes');
|
||||
|
|
Reference in a new issue