command line syntax is supported in mpv.conf
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
- Fix OSC hide behavior on mouse move.
|
- Fix OSC hide behavior on mouse move.
|
||||||
- New binding to show the current file in File Explorer.
|
- New binding to show the current file in File Explorer.
|
||||||
- Shift key enables `process-instance=multi`.
|
- Shift key enables `process-instance=multi`.
|
||||||
|
- Command line syntax (preceding double hyphen) is supported in mpv.conf for options implemented by mpv.net.
|
||||||
- MediaInfo v22.06
|
- MediaInfo v22.06
|
||||||
- libmpv shinchiro 2022-07-02
|
- libmpv shinchiro 2022-07-02
|
||||||
|
|
||||||
|
|||||||
@@ -482,10 +482,12 @@ playback automatically resumes.
|
|||||||
|
|
||||||
Defines if more then one mpv.net process is allowed.
|
Defines if more then one mpv.net process is allowed.
|
||||||
|
|
||||||
Tip: Whenever the CTRL key is pressed when files or URLs are opened,
|
Whenever the CTRL key is pressed when files or URLs are opened,
|
||||||
the playlist is not cleared but the files or URLs are appended to the playlist.
|
the playlist is not cleared but the files or URLs are appended to the playlist.
|
||||||
This not only works on process startup but in all mpv.net features that open files and URLs.
|
This not only works on process startup but in all mpv.net features that open files and URLs.
|
||||||
|
|
||||||
|
Multi can alternatively be enabled by pressing the SHIFT key.
|
||||||
|
|
||||||
**multi**
|
**multi**
|
||||||
Create a new process everytime the shell starts mpv.net.
|
Create a new process everytime the shell starts mpv.net.
|
||||||
|
|
||||||
|
|||||||
@@ -378,6 +378,9 @@ namespace mpvnet
|
|||||||
string key = i.Substring(0, i.IndexOf("=")).Trim();
|
string key = i.Substring(0, i.IndexOf("=")).Trim();
|
||||||
string value = i.Substring(i.IndexOf("=") + 1).Trim();
|
string value = i.Substring(i.IndexOf("=") + 1).Trim();
|
||||||
|
|
||||||
|
if (key.StartsWith("-"))
|
||||||
|
key = key.TrimStart('-');
|
||||||
|
|
||||||
if (value.Contains("#") && !value.StartsWith("#") &&
|
if (value.Contains("#") && !value.StartsWith("#") &&
|
||||||
!value.StartsWith("'#") && !value.StartsWith("\"#"))
|
!value.StartsWith("'#") && !value.StartsWith("\"#"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user