update changelog

This commit is contained in:
Frank Skare
2021-07-19 16:15:16 +02:00
parent a380f87b5f
commit 517e4a1142
2 changed files with 8 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
making it very easy to find a property and show/print its value.
- Support for --keep-open=no.
- Profile selection in the context menu.
- Use defaults in case settings.xml fails loading (not reproducible).
- libmpv shinchiro 2021-07-18
5.4.9.1 Beta (2021-06-23)

View File

@@ -94,7 +94,7 @@ namespace mpvnet
public void Error_DataReady(object sender, EventArgs e)
{
var output = sender as PipelineReader<Object>;
var output = sender as PipelineReader<object>;
while (output.Count > 0)
Terminal.WriteError(output.Read(), Module);
@@ -138,18 +138,23 @@ namespace mpvnet
case "bool": case "boolean":
Core.ObservePropertyBool(name, value => App.RunTask(() => PropertyChanged.Invoke(name, value)));
break;
case "string":
Core.ObservePropertyString(name, value => App.RunTask(() => PropertyChanged.Invoke(name, value)));
break;
case "int": case "integer":
Core.ObservePropertyInt(name, value => App.RunTask(() => PropertyChanged.Invoke(name, value)));
break;
case "float": case "double":
Core.ObservePropertyDouble(name, value => App.RunTask(() => PropertyChanged.Invoke(name, value)));
break;
case "nil": case "none": case "native":
Core.ObserveProperty(name, () => App.RunTask(() => PropertyChanged.Invoke(name, null)));
break;
default:
App.ShowError("Invalid Type", "Valid types are: bool or boolean, string, int or integer, float or double, nil or none or native");
break;