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 } }