From e1d549cead7bb44eac7920359d387f41aae78a67 Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Tue, 26 Apr 2022 09:27:13 -0400 Subject: [PATCH] update dependencies --- AaxDecrypter/AaxDecrypter.csproj | 4 ++-- ApplicationServices/ApplicationServices.csproj | 2 +- LibationWinForms/BookLiberation/AudioDecodeForm.cs | 12 ++++++------ .../BookLiberation/BaseForms/LiberationBaseForm.cs | 3 ++- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/AaxDecrypter/AaxDecrypter.csproj b/AaxDecrypter/AaxDecrypter.csproj index 3c0586b9..181f4bd7 100644 --- a/AaxDecrypter/AaxDecrypter.csproj +++ b/AaxDecrypter/AaxDecrypter.csproj @@ -5,8 +5,8 @@ - - + + diff --git a/ApplicationServices/ApplicationServices.csproj b/ApplicationServices/ApplicationServices.csproj index 2dab5237..b2c3abea 100644 --- a/ApplicationServices/ApplicationServices.csproj +++ b/ApplicationServices/ApplicationServices.csproj @@ -6,7 +6,7 @@ - + diff --git a/LibationWinForms/BookLiberation/AudioDecodeForm.cs b/LibationWinForms/BookLiberation/AudioDecodeForm.cs index 6520aa65..56775e8e 100644 --- a/LibationWinForms/BookLiberation/AudioDecodeForm.cs +++ b/LibationWinForms/BookLiberation/AudioDecodeForm.cs @@ -73,12 +73,6 @@ namespace LibationWinForms.BookLiberation private string authorNames; private string narratorNames; - public override void AudioDecodable_RequestCoverArt(object sender, Action setCoverArtDelegate) - { - base.AudioDecodable_RequestCoverArt(sender, setCoverArtDelegate); - setCoverArtDelegate(GetCoverArtDelegate?.Invoke()); - } - public override void AudioDecodable_TitleDiscovered(object sender, string title) { base.AudioDecodable_TitleDiscovered(sender, title); @@ -104,6 +98,12 @@ namespace LibationWinForms.BookLiberation private void updateBookInfo() => bookInfoLbl.UIThreadAsync(() => bookInfoLbl.Text = $"{title}\r\nBy {authorNames}\r\nNarrated by {narratorNames}"); + public override void AudioDecodable_RequestCoverArt(object sender, Action setCoverArtDelegate) + { + base.AudioDecodable_RequestCoverArt(sender, setCoverArtDelegate); + setCoverArtDelegate(GetCoverArtDelegate?.Invoke()); + } + public override void AudioDecodable_CoverImageDiscovered(object sender, byte[] coverArt) { base.AudioDecodable_CoverImageDiscovered(sender, coverArt); diff --git a/LibationWinForms/BookLiberation/BaseForms/LiberationBaseForm.cs b/LibationWinForms/BookLiberation/BaseForms/LiberationBaseForm.cs index 76f54a8a..691db3c9 100644 --- a/LibationWinForms/BookLiberation/BaseForms/LiberationBaseForm.cs +++ b/LibationWinForms/BookLiberation/BaseForms/LiberationBaseForm.cs @@ -152,11 +152,12 @@ namespace LibationWinForms.BookLiberation.BaseForms #endregion #region AudioDecodable event handlers - public virtual void AudioDecodable_RequestCoverArt(object sender, Action setCoverArtDelegate) { } public virtual void AudioDecodable_TitleDiscovered(object sender, string title) { } public virtual void AudioDecodable_AuthorsDiscovered(object sender, string authors) { } public virtual void AudioDecodable_NarratorsDiscovered(object sender, string narrators) { } + public virtual void AudioDecodable_CoverImageDiscovered(object sender, byte[] coverArt) { } + public virtual void AudioDecodable_RequestCoverArt(object sender, Action setCoverArtDelegate) { } #endregion } }