Skip to content

Commit ace7566

Browse files
committed
v7.1.1.3 Beta
1 parent 0b646ce commit ace7566

File tree

5 files changed

+13
-31
lines changed

5 files changed

+13
-31
lines changed

docs/changelog.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# v7.1.1.3 Beta (????-??-??)
2+
# v7.1.1.3 Beta (2024-10-20)
33

44
- Support for autocreate-playlist, video-exts, audio-exts, image-exts.
55
Windows 7 support should still work, but needs auto-load-folder to be enabled
@@ -9,6 +9,11 @@
99
are shown in the menu under 'View > Command Palette'.
1010
- New command to select the stream quality `Video > Stream Quality (Alt+q)`,
1111
this calls the Stream Quality feature of the command palette.
12+
- The Command Palette interacts with mpv.net to enable the Recent Files
13+
feature in the Command Palette.
14+
- New zhongfly libmpv x64 build.
15+
- New Andarwinux libmpv ARM64 build.
16+
1217

1318
# v7.1.1.2 Beta (2024-10-10)
1419

docs/manual.md

-9
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Table of contents
2222
* [Extensions](#extensions)
2323
* [Color Theme](#color-theme)
2424
* [Advanced Features](#advanced-features)
25-
* [Hidden Features](#hidden-features)
2625
* [Differences compared to mpv](#differences-compared-to-mpv)
2726
* [Environment Variables](#environment-variables)
2827
* [user-data](#user-data)
@@ -584,14 +583,6 @@ demuxer-lavf-format = vapoursynth
584583
Python and VapourSynth must be in the path environment variable.
585584

586585

587-
Hidden Features
588-
---------------
589-
590-
Selecting multiple files in File Explorer and pressing enter will
591-
open the files in mpv.net. Explorer restricts this to maximum 15 files
592-
and the order will be random.
593-
594-
595586
Differences compared to mpv
596587
---------------------------
597588

src/MpvNet.Windows/GuiCommand.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
using MpvNet.Windows.WPF.MsgBox;
1515
using MpvNet.Windows.Help;
1616
using MpvNet.Help;
17-
using System.Windows.Documents;
1817

1918
namespace MpvNet;
2019

@@ -293,7 +292,7 @@ void StreamQuality()
293292
{
294293
int version = Player.GetPropertyInt("user-data/command-palette/version");
295294

296-
if (version >= 1)
295+
if (version >= 2)
297296
Player.Command("script-message-to command_palette show-command-palette \"Stream Quality\"");
298297
else
299298
{
@@ -323,14 +322,14 @@ void ShowRecentFilesInCommandPalette()
323322
Player.CommandV("script-message", "show-command-palette-json", json);
324323
}
325324

326-
public class Obj
325+
class Obj
327326
{
328327
public string title { get; set; } = "";
329328
public int selected_index { get; set; } = 0;
330329
public Item[] items { get; set; } = Array.Empty<Item>();
331330
}
332331

333-
public class Item
332+
class Item
334333
{
335334
public string[] value { get; set; } = Array.Empty<string>();
336335
public string title { get; set; } = "";

src/MpvNet.Windows/MpvNet.Windows.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<UseWindowsForms>true</UseWindowsForms>
1212
<ApplicationIcon>mpv-icon.ico</ApplicationIcon>
1313
<Product>mpv.net</Product>
14-
<FileVersion>7.1.1.2</FileVersion>
15-
<AssemblyVersion>7.1.1.2</AssemblyVersion>
16-
<InformationalVersion>7.1.1.2</InformationalVersion>
14+
<FileVersion>7.1.1.3</FileVersion>
15+
<AssemblyVersion>7.1.1.3</AssemblyVersion>
16+
<InformationalVersion>7.1.1.3</InformationalVersion>
1717
<Nullable>enable</Nullable>
1818
</PropertyGroup>
1919

src/MpvNet/Player.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -254,20 +254,7 @@ public string ConfigFolder {
254254
_configFolder = Folder.AppData + "mpv.net";
255255

256256
if (!Directory.Exists(_configFolder))
257-
{
258-
try {
259-
using Process proc = new Process();
260-
proc.StartInfo.UseShellExecute = false;
261-
proc.StartInfo.CreateNoWindow = true;
262-
proc.StartInfo.FileName = "powershell.exe";
263-
proc.StartInfo.Arguments = $@"-Command New-Item -Path '{_configFolder}' -ItemType Directory";
264-
proc.Start();
265-
proc.WaitForExit();
266-
} catch (Exception) {}
267-
268-
if (!Directory.Exists(_configFolder))
269-
Directory.CreateDirectory(_configFolder);
270-
}
257+
Directory.CreateDirectory(_configFolder);
271258

272259
_configFolder = _configFolder.AddSep();
273260
}

0 commit comments

Comments
 (0)