diff --git a/Controls/Interfaces/TaskbarInterface.cs b/Controls/Interfaces/TaskbarInterface.cs index 5ba09c66..2775fb1e 100644 --- a/Controls/Interfaces/TaskbarInterface.cs +++ b/Controls/Interfaces/TaskbarInterface.cs @@ -82,6 +82,9 @@ internal static ExtendedProgressBar Accessor { set { if (value is null) { if (AccessorPriorityList.Count > 0) { + while (AccessorPriorityList[0] is null || AccessorPriorityList[0].IsDisposed) + AccessorPriorityList.RemoveAt(0); + fAccessor = AccessorPriorityList[0]; AccessorPriorityList.RemoveAt(0); fAccessor.SetStateInTaskbar(); diff --git a/youtube-dl-gui-updater/youtube-dl-gui-updater.csproj b/youtube-dl-gui-updater/youtube-dl-gui-updater.csproj index 47c671b7..afc7b7c4 100644 --- a/youtube-dl-gui-updater/youtube-dl-gui-updater.csproj +++ b/youtube-dl-gui-updater/youtube-dl-gui-updater.csproj @@ -61,6 +61,7 @@ + diff --git a/youtube-dl-gui/Forms/frmAbout.cs b/youtube-dl-gui/Forms/frmAbout.cs index d3f79a52..d8267677 100644 --- a/youtube-dl-gui/Forms/frmAbout.cs +++ b/youtube-dl-gui/Forms/frmAbout.cs @@ -17,7 +17,7 @@ public frmAbout() { llbCheckForUpdates.Location.Y ); - if (!Config.Settings.Initialization.ScreenshotMode) + if (Config.Settings.Initialization.ScreenshotMode) this.FormClosing += (s, e) => this.Dispose(); } diff --git a/youtube-dl-gui/Forms/frmExtendedDownloader.cs b/youtube-dl-gui/Forms/frmExtendedDownloader.cs index 3680d2f5..05e64524 100644 --- a/youtube-dl-gui/Forms/frmExtendedDownloader.cs +++ b/youtube-dl-gui/Forms/frmExtendedDownloader.cs @@ -318,7 +318,7 @@ private void DownloadInfo() { this.Invoke(() => { this.Text = Config.Settings.Initialization.ScreenshotMode ? - $"Video title - {Language.ApplicationName}" : $"{Information.Title} - {Language.ApplicationName}"; + $"The videos' title will appear here - {Language.ApplicationName}" : $"{Information.Title} - {Language.ApplicationName}"; txtExtendedDownloaderMediaTitle.Text = Information.Title; rtbMediaDescription.Text = Information.Description; txtUploader.Text = Information.Uploader; diff --git a/youtube-dl-gui/Forms/frmMain.cs b/youtube-dl-gui/Forms/frmMain.cs index 171e4f31..f03a9b20 100644 --- a/youtube-dl-gui/Forms/frmMain.cs +++ b/youtube-dl-gui/Forms/frmMain.cs @@ -553,13 +553,13 @@ private void mLog_Click(object sender, EventArgs e) { private void mAbout_Click(object sender, EventArgs e) { if (Config.Settings.Initialization.ScreenshotMode) { - using frmAbout about = new(); - about.ShowDialog(); - } - else { frmAbout about = new(); about.Show(); } + else { + using frmAbout about = new(); + about.ShowDialog(); + } } #endregion diff --git a/youtube-dl-gui/Program.cs b/youtube-dl-gui/Program.cs index 8c5a056f..b29c7df9 100644 --- a/youtube-dl-gui/Program.cs +++ b/youtube-dl-gui/Program.cs @@ -14,7 +14,7 @@ internal static class Program { /// /// Gets the curent version of the program. /// - public static Version CurrentVersion { get; } = new(3, 1, 0); + public static Version CurrentVersion { get; } = new(3, 1, 1); /// /// Gets whether the program is running in debug mode. diff --git a/youtube-dl-gui/Resources/BuildDate.txt b/youtube-dl-gui/Resources/BuildDate.txt index fa1284a1..92ee0f48 100644 --- a/youtube-dl-gui/Resources/BuildDate.txt +++ b/youtube-dl-gui/Resources/BuildDate.txt @@ -1 +1 @@ -2022-09-29 \ No newline at end of file +2022-10-15 \ No newline at end of file diff --git a/youtube-dl-gui/Resources/youtube-dl-gui-updater.exe b/youtube-dl-gui/Resources/youtube-dl-gui-updater.exe index cbf0fc06..73f646aa 100644 Binary files a/youtube-dl-gui/Resources/youtube-dl-gui-updater.exe and b/youtube-dl-gui/Resources/youtube-dl-gui-updater.exe differ diff --git a/youtube-dl-gui/Updater/UpdateChecker.cs b/youtube-dl-gui/Updater/UpdateChecker.cs index 1de5bc8d..50474d32 100644 --- a/youtube-dl-gui/Updater/UpdateChecker.cs +++ b/youtube-dl-gui/Updater/UpdateChecker.cs @@ -9,7 +9,7 @@ namespace youtube_dl_gui { internal class UpdateChecker { #region Fields & Properties - private const string KnownUpdaterHash = "B2C17EAC85AC0DF800643C602F4EAF09F93E62822CA3D1B2034D55E5C16EF1CC"; + private const string KnownUpdaterHash = "FFA64CBA460E6ADD7975D61CF518352D17687E026A7D8AE80631E80FB2E73695"; private const string FfmpegDownloadLink = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip"; public static GithubData LastChecked { get; private set; } public static GithubData LastCheckedLatestRelease { get; private set; } diff --git a/youtube-dl-gui/youtube-dl-gui.csproj b/youtube-dl-gui/youtube-dl-gui.csproj index ba21c6ae..6fb6ddf8 100644 --- a/youtube-dl-gui/youtube-dl-gui.csproj +++ b/youtube-dl-gui/youtube-dl-gui.csproj @@ -50,6 +50,7 @@ +