diff --git a/Changelog.md b/Changelog.md index a2ec649..b02fdd5 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,8 +2,9 @@ 5.4.8.7 Beta (202?-??-??) ========================= -- history feature can be configured to ingore defined paths/keywords: - script-opt = history-discard=path1;path2 +- history feature can be configured to ingore defined strings: + script-opt = history-discard=value1;value2 +- Web stream audio and subtitle track selection. 5.4.8.6 Beta (2020-12-24) diff --git a/mpv.net/mpv/Core.cs b/mpv.net/mpv/Core.cs index eed6747..dfcc20f 100644 --- a/mpv.net/mpv/Core.cs +++ b/mpv.net/mpv/Core.cs @@ -997,6 +997,9 @@ namespace mpvnet if (left == "script") left = "scripts"; + if (left == "external-file") + left = "external-files"; + if (preInit && preInitProperties.Contains(left)) { core.ProcessProperty(left, right); @@ -1274,7 +1277,7 @@ namespace mpvnet { MediaTracks.Clear(); - if (path.ToLowerEx().StartsWithEx("bd://") || path.ToLowerEx().StartsWithEx("dvd://")) + if (path.ToLowerEx().Contains("://")) { int count = core.get_property_int("track-list/count");