5.4.8.7 Beta

This commit is contained in:
Frank Skare
2021-03-09 07:23:26 +01:00
parent 8db8e497a5
commit a52de9039d
4 changed files with 10 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
5.4.8.7 Beta (2021-03-??) 5.4.8.7 Beta (2021-03-09)
========================= =========================
- History feature can be configured to ingore defined strings: - History feature can be configured to ingore defined strings:
@@ -8,7 +8,8 @@
- On Windows 10 1903 and later the default code page was changed to UTF-8. - On Windows 10 1903 and later the default code page was changed to UTF-8.
- Support of --version command. - Support of --version command.
- File associations and auto-load-folder can be customized with - File associations and auto-load-folder can be customized with
video-file-extensions, audio-file-extensions and image-file-extensions video-file-extensions, audio-file-extensions and image-file-extensions.
- Fix menu not showing key '&'.
5.4.8.6 Beta (2020-12-24) 5.4.8.6 Beta (2020-12-24)

View File

@@ -101,7 +101,7 @@ namespace mpvnet
public static string Version { public static string Version {
get { get {
return "Copyright (C) 2000-2020 mpv.net/mpv/mplayer\n" + return "Copyright (C) 2000-2021 mpv.net/mpv/mplayer\n" +
$"mpv.net {Application.ProductVersion} ({File.GetLastWriteTime(Application.ExecutablePath).ToShortDateString()})\n" + $"mpv.net {Application.ProductVersion} ({File.GetLastWriteTime(Application.ExecutablePath).ToShortDateString()})\n" +
$"{core.get_property_string("mpv-version")} ({File.GetLastWriteTime(Folder.Startup + "mpv-1.dll").ToShortDateString()})\nffmpeg {core.get_property_string("ffmpeg-version")}\nMIT License"; $"{core.get_property_string("mpv-version")} ({File.GetLastWriteTime(Folder.Startup + "mpv-1.dll").ToShortDateString()})\nffmpeg {core.get_property_string("ffmpeg-version")}\nMIT License";
} }

View File

@@ -8,9 +8,9 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("mpv.net")] [assembly: AssemblyTitle("mpv.net")]
[assembly: AssemblyDescription("mpv based media player")] [assembly: AssemblyDescription("mpv based media player")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Frank Skare (stax76)")] [assembly: AssemblyCompany("mpv.net/mpv/mplayer")]
[assembly: AssemblyProduct("mpv.net")] [assembly: AssemblyProduct("mpv.net")]
[assembly: AssemblyCopyright("Copyright (C) 2017-2020 Frank Skare (stax76)")] [assembly: AssemblyCopyright("Copyright (C) 2000-2021 mpv.net/mpv/mplayer")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.8.6")] [assembly: AssemblyVersion("5.4.8.7")]
[assembly: AssemblyFileVersion("5.4.8.6")] [assembly: AssemblyFileVersion("5.4.8.7")]

View File

@@ -466,9 +466,7 @@ namespace mpvnet
if (string.IsNullOrEmpty(item.Path)) if (string.IsNullOrEmpty(item.Path))
continue; continue;
string path = item.Path.Replace("&", "&&"); MenuItem menuItem = ContextMenu.Add(item.Path.Replace("&", "&&"), () => {
MenuItem menuItem = ContextMenu.Add(path, () => {
try { try {
core.command(item.Command); core.command(item.Command);
} catch (Exception ex) { } catch (Exception ex) {
@@ -477,7 +475,7 @@ namespace mpvnet
}); });
if (menuItem != null) if (menuItem != null)
menuItem.ShortcutKeyDisplayString = item.Input + " "; menuItem.ShortcutKeyDisplayString = item.Input.Replace("&", "&&") + " ";
} }
} }