Added method to set cover art in tags for writing.

This commit is contained in:
Michael Bucari-Tovo 2021-06-30 17:31:30 -06:00
parent 8d6b304a8b
commit 2955e8b464

View File

@ -84,7 +84,10 @@ namespace AaxDecrypter
AppleTags.SetData(stag.BoxType, stag.Children.Cast<AppleDataBox>().ToArray()); AppleTags.SetData(stag.BoxType, stag.Children.Cast<AppleDataBox>().ToArray());
} }
} }
public void AddPicture(byte[] coverArt)
{
AppleTags.SetData("covr", coverArt, 0);
}
/// <summary> /// <summary>
/// Attempts to convert unicode characters to an approximately equal ASCII character. /// Attempts to convert unicode characters to an approximately equal ASCII character.