Update libmpv to 2024-03-17 + Update yt-dlp to 2024-03-10

This commit is contained in:
Nikolaj Olsson 2024-03-22 23:22:47 +01:00
parent 127530fbb0
commit 286902048c
3 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,8 @@
* IMPROVED: * IMPROVED:
* Make "Timed Text IMSC 1.1" more compatible * Make "Timed Text IMSC 1.1" more compatible
* Improve EBU STL preview regarding box - thx BlueMeow7 * Improve EBU STL preview regarding box - thx BlueMeow7
* Update libmpv to 2024-03-17
* Update yt-dlp to 2024-03-10
* FIXED: * FIXED:
* Fix for Whisper Post-processing - thx Purfview/cvrle77 * Fix for Whisper Post-processing - thx Purfview/cvrle77
* Fix crash in "Fix common errors" - thx Joe * Fix crash in "Fix common errors" - thx Joe

View File

@ -11,8 +11,8 @@ namespace Nikse.SubtitleEdit.Forms
{ {
public sealed partial class DownloadYouTubeDl : Form public sealed partial class DownloadYouTubeDl : Form
{ {
public const string Url = "https://github.com/yt-dlp/yt-dlp/releases/download/2023.11.16/yt-dlp.exe"; public const string Url = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.03.10/yt-dlp.exe";
public const string Sha512Hash = "45632ddd25254e714182bf9580bde5f8bcee327c519044df6dc960f897419573caa2e441eba71754fc488815b1430797b8738239b4f77d53349520ceb26d21b2"; public const string Sha512Hash = "643bb41bb7590a1c79f2e10e5a7948e9897e18196e3399548b842673d4bb1a00f7060338ee9756dfb74e6aa24ac6282641398299f3937150f247d8bfe5f76b52";
public bool AutoClose { get; internal set; } public bool AutoClose { get; internal set; }
private readonly CancellationTokenSource _cancellationTokenSource; private readonly CancellationTokenSource _cancellationTokenSource;

View File

@ -31,7 +31,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
private void ButtonDownloadClick(object sender, EventArgs e) private void ButtonDownloadClick(object sender, EventArgs e)
{ {
_downloadUrl = "https://github.com/SubtitleEdit/support-files/releases/download/ibmpv-2023-11-26/libmpv2-" + IntPtr.Size * 8 + ".zip"; _downloadUrl = "https://github.com/SubtitleEdit/support-files/releases/download/20240317-git-3afcaeb/libmpv2-" + IntPtr.Size * 8 + ".zip";
try try
{ {
labelPleaseWait.Text = LanguageSettings.Current.General.PleaseWait; labelPleaseWait.Text = LanguageSettings.Current.General.PleaseWait;
@ -82,8 +82,8 @@ namespace Nikse.SubtitleEdit.Forms.Options
var hash = Utilities.GetSha512Hash(downloadStream.ToArray()); var hash = Utilities.GetSha512Hash(downloadStream.ToArray());
string[] validHashes = string[] validHashes =
{ {
"1aaf774b046f3776059fff14162bca73a65a06ff64ed5df53a0db7b53c34196de7325dadbfaf1017336a146c785db60d814eee61fef094bcb9fca739c63abc7b", // 32-bit "9efe0a9bb2fad034c1abf1d7d13b138d94e0c2d68252c9eb023adbc56856cd8825f3ed7ec77fd46c90d44b590d92bbbdf1db6f2c73669ebd30142dd112030a7c", // 32-bit
"2b85050721d75cfe3447a7282bf717fadd8999a20217f6ed0ffa121573e1d07301bff6b86ca2896b59206b4af09a0b977f3dcc901ae9245a94941157a0398c00", // 64-bit "0fc41264b94045a5d72f5ae078afc27b65c8525cb9283113c7f467ffdc2833b4dfc208faf81cd6855d9f147ee2212f0db668f7fceb721a58c933bb6b2e762af6", // 64-bit
}; };
if (!validHashes.Contains(hash)) if (!validHashes.Contains(hash))
{ {