diff --git a/Changelog.md b/Changelog.md index 3aa4a60..1a9840f 100644 --- a/Changelog.md +++ b/Changelog.md @@ -5,6 +5,7 @@ settings were modified - when multiple files are selected in Windows File Explorer and enter is pressed, the files are opened, the order is random however +- libmpv was updated to shinchiro 2019-06-30 ### 4.5 diff --git a/README.md b/README.md index 08a652b..648c19d 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Table of contents - Searchable command palette to quickly launch commands and look for keys ([Screenshot](#command-palette-screenshot)) - Modern UI with dark mode ([Screenshot](#config-editor-screenshot)) - Addon/extension API for .NET languages -- Scripting API for Python, C#, Lua, JavaScript and PowerShell ([wiki](https://github.com/stax76/mpv.net/wiki/Scripting)) +- Scripting API for Python, C#, Lua, JavaScript and PowerShell ([Wiki](https://github.com/stax76/mpv.net/wiki/Scripting)) - mpv's OSC, IPC and conf files - [Command Line Interface](https://mpv.io/manual/master/#options) - DXVA2 video decoding acceleration diff --git a/mpv.net/Misc/Misc.cs b/mpv.net/Misc/Misc.cs index c6e3941..b344e89 100644 --- a/mpv.net/Misc/Misc.cs +++ b/mpv.net/Misc/Misc.cs @@ -109,15 +109,9 @@ namespace mpvnet } else { - string switchName = i.Substring(2); - - switch (switchName) - { - case "fs": - case "fullscreen": - mp.Fullscreen = true; - break; - } + string name = i.Substring(2); + mp.ProcessProperty(name, "yes"); + ProcessProperty(name, "yes"); } } }