Embedded cover art support

Andreas L. ecroy at gmx.net
Sun Feb 21 16:46:18 CET 2010


Hello!

I always wanted support for id3v2 cover art [1] therefore I thought I might as 
well start working on it myself - as I'm new to Amarok development please bear 
with me :)
I have begun to dig into the source and came across the TODO comments for 
porting this functionality to Amarok 2. Looking at the 1.4 codebase I realized 
that apart from some other non-trivial stuff, a change of the database schema 
would be necessary to implement it in the same way.

Just for the fun of it and to familiarize myself with Amarok code I tried a 
much simpler approach which leaves the database layout untouched and more or 
less just accepts a music file with an embedded APIC frame as a valid entry in 
the image table which is used whenever no other cover-art image file is found.
With just some minor modifications to the image loading process the result 
works for me as expected.

Again: this was just for me to get some practice and I am not proposing that 
support should be added in this way as I am surely unaware of some major side 
effects, but that's where I'd like to ask for your advice: are there any 
definite plans on how this feature will/should be implemented?
I am willing to put some effort into this but I would need some guidance as I 
am clearly in no position to make the necessary design decisions.

Any help would be greatly appreciated - thanks!

Andreas

--

[1] https://bugs.kde.org/show_bug.cgi?id=176402


More information about the Amarok-devel mailing list