Skip to content

Commit

Permalink
v7.1.1.3 Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Oct 20, 2024
1 parent 0b646ce commit ace7566
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 31 deletions.
7 changes: 6 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Windows 7 support should still work, but needs auto-load-folder to be enabled
Expand All @@ -9,6 +9,11 @@
are shown in the menu under 'View > Command Palette'.
- New command to select the stream quality `Video > Stream Quality (Alt+q)`,
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)

Expand Down
9 changes: 0 additions & 9 deletions docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Table of contents
* [Extensions](#extensions)
* [Color Theme](#color-theme)
* [Advanced Features](#advanced-features)
* [Hidden Features](#hidden-features)
* [Differences compared to mpv](#differences-compared-to-mpv)
* [Environment Variables](#environment-variables)
* [user-data](#user-data)
Expand Down Expand Up @@ -584,14 +583,6 @@ demuxer-lavf-format = vapoursynth
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
---------------------------

Expand Down
7 changes: 3 additions & 4 deletions src/MpvNet.Windows/GuiCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using MpvNet.Windows.WPF.MsgBox;
using MpvNet.Windows.Help;
using MpvNet.Help;
using System.Windows.Documents;

namespace MpvNet;

Expand Down Expand Up @@ -293,7 +292,7 @@ void StreamQuality()
{
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\"");
else
{
Expand Down Expand Up @@ -323,14 +322,14 @@ void ShowRecentFilesInCommandPalette()
Player.CommandV("script-message", "show-command-palette-json", json);
}

public class Obj
class Obj
{
public string title { get; set; } = "";
public int selected_index { get; set; } = 0;
public Item[] items { get; set; } = Array.Empty<Item>();
}

public class Item
class Item
{
public string[] value { get; set; } = Array.Empty<string>();
public string title { get; set; } = "";
Expand Down
6 changes: 3 additions & 3 deletions src/MpvNet.Windows/MpvNet.Windows.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>mpv-icon.ico</ApplicationIcon>
<Product>mpv.net</Product>
<FileVersion>7.1.1.2</FileVersion>
<AssemblyVersion>7.1.1.2</AssemblyVersion>
<InformationalVersion>7.1.1.2</InformationalVersion>
<FileVersion>7.1.1.3</FileVersion>
<AssemblyVersion>7.1.1.3</AssemblyVersion>
<InformationalVersion>7.1.1.3</InformationalVersion>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down
15 changes: 1 addition & 14 deletions src/MpvNet/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,20 +254,7 @@ public string ConfigFolder {
_configFolder = Folder.AppData + "mpv.net";

if (!Directory.Exists(_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);
}
Directory.CreateDirectory(_configFolder);

_configFolder = _configFolder.AddSep();
}
Expand Down

0 comments on commit ace7566

Please sign in to comment.