Hello, can you help me please? How can i getting Album Artwork from mp3 file? I’m already used TagLib plugin for getting string album from file, but how can i convert into image for sprite? And i’m already tried posted the query to spotify service but i don’t understand what i need to do next.
var audioFile = TagLib.File.Create(PlayList[idx_A]);
string search = audioFile.Tag.Album;
StartCoroutine(FindCover(search));
IEnumerator FindCover(string coverName)
{
string escName = WWW.EscapeURL(coverName);
Texture2D texture = new Texture2D(1, 1);
WWW www = new WWW("https://api.spotify.com/v1/search?q="+ escName + "&type=artist");
yield return www;
www.LoadImageIntoTexture(texture);
print(escName);
}