New media info command

This commit is contained in:
Frank Skare
2021-05-30 14:39:15 +02:00
parent f56502d8f3
commit 539f94d1c9
9 changed files with 70 additions and 15 deletions

View File

@@ -762,6 +762,11 @@ namespace mpvnet
HandleError(err, throwException, $"error setting property: {name} = {value}");
}
public string GetPropertyString(string name, bool throwException = false)
{
return get_property_string(name, throwException);
}
public string get_property_string(string name, bool throwException = false)
{
mpv_error err = mpv_get_property(Handle, GetUtf8Bytes(name),