Update README and config to mention use of --

This commit is contained in:
Ryze 2025-03-27 00:31:36 +03:00
parent b7bac9f153
commit dc2a3effa8
Signed by: ryze
GPG key ID: 9B296C5CEAEAAAC1
2 changed files with 4 additions and 2 deletions

View file

@ -34,7 +34,9 @@ On Linux configuration file is searched in such order:
On Windows configuration file should be placed at: %APPDATA%/ff2mpv-rust.json.
See [example configuration](ff2mpv-rust.json).
See [default configuration](ff2mpv-rust.json).
Note that default configuration passes `--` as last argument in order to prevent argument injection.
When editing you should either keep it or use a similar argument for the player you want to use.
# Command line interface
ff2mpv-rust provides command line interface with following commands:

View file

@ -1,4 +1,4 @@
{
"player_command": "mpv",
"player_args": ["--no-config", "--fullscreen"]
"player_args": ["--no-terminal", "--"]
}