From 286902048c63014e9a0e47bc86503f15ee0b52eb Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Fri, 22 Mar 2024 23:22:47 +0100 Subject: [PATCH] Update libmpv to 2024-03-17 + Update yt-dlp to 2024-03-10 --- Changelog.txt | 2 ++ src/ui/Forms/DownloadYouTubeDl.cs | 4 ++-- src/ui/Forms/Options/SettingsMpv.cs | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 73b0b35e5..e15a77aea 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -7,6 +7,8 @@ * IMPROVED: * Make "Timed Text IMSC 1.1" more compatible * Improve EBU STL preview regarding box - thx BlueMeow7 + * Update libmpv to 2024-03-17 + * Update yt-dlp to 2024-03-10 * FIXED: * Fix for Whisper Post-processing - thx Purfview/cvrle77 * Fix crash in "Fix common errors" - thx Joe diff --git a/src/ui/Forms/DownloadYouTubeDl.cs b/src/ui/Forms/DownloadYouTubeDl.cs index 784cb42bf..12b5994c7 100644 --- a/src/ui/Forms/DownloadYouTubeDl.cs +++ b/src/ui/Forms/DownloadYouTubeDl.cs @@ -11,8 +11,8 @@ namespace Nikse.SubtitleEdit.Forms { 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 Sha512Hash = "45632ddd25254e714182bf9580bde5f8bcee327c519044df6dc960f897419573caa2e441eba71754fc488815b1430797b8738239b4f77d53349520ceb26d21b2"; + public const string Url = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.03.10/yt-dlp.exe"; + public const string Sha512Hash = "643bb41bb7590a1c79f2e10e5a7948e9897e18196e3399548b842673d4bb1a00f7060338ee9756dfb74e6aa24ac6282641398299f3937150f247d8bfe5f76b52"; public bool AutoClose { get; internal set; } private readonly CancellationTokenSource _cancellationTokenSource; diff --git a/src/ui/Forms/Options/SettingsMpv.cs b/src/ui/Forms/Options/SettingsMpv.cs index 8712b7872..cf665691e 100644 --- a/src/ui/Forms/Options/SettingsMpv.cs +++ b/src/ui/Forms/Options/SettingsMpv.cs @@ -31,7 +31,7 @@ namespace Nikse.SubtitleEdit.Forms.Options 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 { labelPleaseWait.Text = LanguageSettings.Current.General.PleaseWait; @@ -82,8 +82,8 @@ namespace Nikse.SubtitleEdit.Forms.Options var hash = Utilities.GetSha512Hash(downloadStream.ToArray()); string[] validHashes = { - "1aaf774b046f3776059fff14162bca73a65a06ff64ed5df53a0db7b53c34196de7325dadbfaf1017336a146c785db60d814eee61fef094bcb9fca739c63abc7b", // 32-bit - "2b85050721d75cfe3447a7282bf717fadd8999a20217f6ed0ffa121573e1d07301bff6b86ca2896b59206b4af09a0b977f3dcc901ae9245a94941157a0398c00", // 64-bit + "9efe0a9bb2fad034c1abf1d7d13b138d94e0c2d68252c9eb023adbc56856cd8825f3ed7ec77fd46c90d44b590d92bbbdf1db6f2c73669ebd30142dd112030a7c", // 32-bit + "0fc41264b94045a5d72f5ae078afc27b65c8525cb9283113c7f467ffdc2833b4dfc208faf81cd6855d9f147ee2212f0db668f7fceb721a58c933bb6b2e762af6", // 64-bit }; if (!validHashes.Contains(hash)) {