v7.1.1.3 Beta

This commit is contained in:
stax76
2024-10-20 09:15:34 +02:00
parent 0b646cedb5
commit ace7566c2a
5 changed files with 13 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
# v7.1.1.3 Beta (????-??-??) # v7.1.1.3 Beta (2024-10-20)
- Support for autocreate-playlist, video-exts, audio-exts, image-exts. - Support for autocreate-playlist, video-exts, audio-exts, image-exts.
Windows 7 support should still work, but needs auto-load-folder to be enabled Windows 7 support should still work, but needs auto-load-folder to be enabled
@@ -9,6 +9,11 @@
are shown in the menu under 'View > Command Palette'. are shown in the menu under 'View > Command Palette'.
- New command to select the stream quality `Video > Stream Quality (Alt+q)`, - New command to select the stream quality `Video > Stream Quality (Alt+q)`,
this calls the Stream Quality feature of the command palette. this calls the Stream Quality feature of the command palette.
- The Command Palette interacts with mpv.net to enable the Recent Files
feature in the Command Palette.
- New zhongfly libmpv x64 build.
- New Andarwinux libmpv ARM64 build.
# v7.1.1.2 Beta (2024-10-10) # v7.1.1.2 Beta (2024-10-10)

View File

@@ -22,7 +22,6 @@ Table of contents
* [Extensions](#extensions) * [Extensions](#extensions)
* [Color Theme](#color-theme) * [Color Theme](#color-theme)
* [Advanced Features](#advanced-features) * [Advanced Features](#advanced-features)
* [Hidden Features](#hidden-features)
* [Differences compared to mpv](#differences-compared-to-mpv) * [Differences compared to mpv](#differences-compared-to-mpv)
* [Environment Variables](#environment-variables) * [Environment Variables](#environment-variables)
* [user-data](#user-data) * [user-data](#user-data)
@@ -584,14 +583,6 @@ demuxer-lavf-format = vapoursynth
Python and VapourSynth must be in the path environment variable. Python and VapourSynth must be in the path environment variable.
Hidden Features
---------------
Selecting multiple files in File Explorer and pressing enter will
open the files in mpv.net. Explorer restricts this to maximum 15 files
and the order will be random.
Differences compared to mpv Differences compared to mpv
--------------------------- ---------------------------

View File

@@ -14,7 +14,6 @@ using MpvNet.Windows.WPF;
using MpvNet.Windows.WPF.MsgBox; using MpvNet.Windows.WPF.MsgBox;
using MpvNet.Windows.Help; using MpvNet.Windows.Help;
using MpvNet.Help; using MpvNet.Help;
using System.Windows.Documents;
namespace MpvNet; namespace MpvNet;
@@ -293,7 +292,7 @@ public class GuiCommand
{ {
int version = Player.GetPropertyInt("user-data/command-palette/version"); int version = Player.GetPropertyInt("user-data/command-palette/version");
if (version >= 1) if (version >= 2)
Player.Command("script-message-to command_palette show-command-palette \"Stream Quality\""); Player.Command("script-message-to command_palette show-command-palette \"Stream Quality\"");
else else
{ {
@@ -323,14 +322,14 @@ public class GuiCommand
Player.CommandV("script-message", "show-command-palette-json", json); Player.CommandV("script-message", "show-command-palette-json", json);
} }
public class Obj class Obj
{ {
public string title { get; set; } = ""; public string title { get; set; } = "";
public int selected_index { get; set; } = 0; public int selected_index { get; set; } = 0;
public Item[] items { get; set; } = Array.Empty<Item>(); public Item[] items { get; set; } = Array.Empty<Item>();
} }
public class Item class Item
{ {
public string[] value { get; set; } = Array.Empty<string>(); public string[] value { get; set; } = Array.Empty<string>();
public string title { get; set; } = ""; public string title { get; set; } = "";

View File

@@ -11,9 +11,9 @@
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>mpv-icon.ico</ApplicationIcon> <ApplicationIcon>mpv-icon.ico</ApplicationIcon>
<Product>mpv.net</Product> <Product>mpv.net</Product>
<FileVersion>7.1.1.2</FileVersion> <FileVersion>7.1.1.3</FileVersion>
<AssemblyVersion>7.1.1.2</AssemblyVersion> <AssemblyVersion>7.1.1.3</AssemblyVersion>
<InformationalVersion>7.1.1.2</InformationalVersion> <InformationalVersion>7.1.1.3</InformationalVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>

View File

@@ -254,20 +254,7 @@ public class MainPlayer : MpvClient
_configFolder = Folder.AppData + "mpv.net"; _configFolder = Folder.AppData + "mpv.net";
if (!Directory.Exists(_configFolder)) if (!Directory.Exists(_configFolder))
{ Directory.CreateDirectory(_configFolder);
try {
using Process proc = new Process();
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.FileName = "powershell.exe";
proc.StartInfo.Arguments = $@"-Command New-Item -Path '{_configFolder}' -ItemType Directory";
proc.Start();
proc.WaitForExit();
} catch (Exception) {}
if (!Directory.Exists(_configFolder))
Directory.CreateDirectory(_configFolder);
}
_configFolder = _configFolder.AddSep(); _configFolder = _configFolder.AddSep();
} }