setting env var MPVNET_VERSION

This commit is contained in:
stax76
2022-06-14 15:09:56 +02:00
parent b17ed3675e
commit 55f4a340af
2 changed files with 2 additions and 3 deletions

View File

@@ -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 options `autofit-image` and `autofit-audio`, like autofit but used for image and audio files. Default 80.

View File

@@ -130,7 +130,6 @@ namespace mpvnet
{
SetPropertyString("terminal", "yes");
SetPropertyString("input-terminal", "yes");
SetPropertyString("msg-level", "osd/libass=fatal");
}
SetPropertyInt("osd-duration", 2000);
@@ -149,7 +148,7 @@ namespace mpvnet
ProcessCommandLine(true);
Environment.SetEnvironmentVariable("mpv_client", "mpvnet");
Environment.SetEnvironmentVariable("MPVNET_VERSION", Application.ProductVersion);
mpv_error err = mpv_initialize(Handle);