setting env var MPVNET_VERSION
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
# 6.1.0.0 Beta (not yet released)
|
# 6.0.0.1 Beta (not yet released)
|
||||||
|
|
||||||
- New tutorial: [Extending mpv and mpv.net via Lua scripting](https://github.com/stax76/mpv.net/wiki/Extending-mpv-and-mpv.net-via-Lua-scripting)
|
- New tutorial: [Extending mpv and mpv.net via Lua scripting](https://github.com/stax76/mpv.net/wiki/Extending-mpv-and-mpv.net-via-Lua-scripting)
|
||||||
- New options `autofit-image` and `autofit-audio`, like autofit but used for image and audio files. Default 80.
|
- New options `autofit-image` and `autofit-audio`, like autofit but used for image and audio files. Default 80.
|
||||||
|
|||||||
@@ -130,7 +130,6 @@ namespace mpvnet
|
|||||||
{
|
{
|
||||||
SetPropertyString("terminal", "yes");
|
SetPropertyString("terminal", "yes");
|
||||||
SetPropertyString("input-terminal", "yes");
|
SetPropertyString("input-terminal", "yes");
|
||||||
SetPropertyString("msg-level", "osd/libass=fatal");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SetPropertyInt("osd-duration", 2000);
|
SetPropertyInt("osd-duration", 2000);
|
||||||
@@ -149,7 +148,7 @@ namespace mpvnet
|
|||||||
|
|
||||||
ProcessCommandLine(true);
|
ProcessCommandLine(true);
|
||||||
|
|
||||||
Environment.SetEnvironmentVariable("mpv_client", "mpvnet");
|
Environment.SetEnvironmentVariable("MPVNET_VERSION", Application.ProductVersion);
|
||||||
|
|
||||||
mpv_error err = mpv_initialize(Handle);
|
mpv_error err = mpv_initialize(Handle);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user