From 2955e8b464cba80030994e34bc872b741c176863 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Wed, 30 Jun 2021 17:31:30 -0600 Subject: [PATCH] Added method to set cover art in tags for writing. --- AaxDecrypter/AaxcTagLibFile.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AaxDecrypter/AaxcTagLibFile.cs b/AaxDecrypter/AaxcTagLibFile.cs index cdb2a0a6..17706b5f 100644 --- a/AaxDecrypter/AaxcTagLibFile.cs +++ b/AaxDecrypter/AaxcTagLibFile.cs @@ -84,7 +84,10 @@ namespace AaxDecrypter AppleTags.SetData(stag.BoxType, stag.Children.Cast().ToArray()); } } - + public void AddPicture(byte[] coverArt) + { + AppleTags.SetData("covr", coverArt, 0); + } /// /// Attempts to convert unicode characters to an approximately equal ASCII character.