GNOME Bugzilla – Bug 563168
TagLib#: cover art in Ogg/Vorbis files
Last modified: 2009-01-16 02:08:31 UTC
TagLib# doesn't extract cover art from Ogg/Vorbis media. It should read the COVERART tag, which stores the cover encoded in base64.
Created attachment 123902 [details] [review] Support Ogg/Vorbis cover art
Hi John, Thanks for the patch. Why didn't you reuse the TagLib.Picture class? I think you could inherit yours from it to avoid some duplication. You can change the FillInMimeFromData method to protected if you need to. Besides that, looks good - I look forward to an updated version! Gabriel
Created attachment 126327 [details] [review] Support Ogg/Vorbis cover art (v2) > Why didn't you reuse the TagLib.Picture class? Wasn't aware of it, thanks for mentioning; using that class removed most of the added code.
Created attachment 126330 [details] [review] John, your latest patch didn't compile - please test the slightly modified version I've attached.
Thanks for the changes, they look good. Unfortunately I'm not able to compile TagLib# at the moment (hence earlier errors), but the code added is simple enough that I trust your version.
Hey John, will you be able to build/test this at some point? I don't have a lot of time to work on it, so if you could that would be great.
Just tested it, works perfectly.
Thanks John, committed!