a patch to libgpod CVS which adds cover art writing support to libgpod.
It's mainly done using
int itdb_track_set_thumbnail (Itdb_Track *song, const char *filename);
void itdb_track_remove_thumbnail (Itdb_Track *song);
(there's also an ugly void itdb_track_free_generated_thumbnails
(Itdb_Track *track); in the public API at the moment, but I'd like to
get rid of it)
There is a test program "test-write-thumbnails" which takes an iPod
mount point and a directory containing png/jpg pictures and which
randomly assigns covers from this dir to each song in the iPod database.
I've tested that the iPod then properly uses those thumbnails, and the
cover reading test program (test-thumbnails) also correctly extracts
There is one big issue still, it's possible to read the thumbnails
stored on the iPod, but I haven't really tested if it's possible to
write them back. It probably will work if you don't add new thumbnails
to some songs, but as soon as you add thumbnails to some songs, it will
break. This can probably be hacked around by code using libgpod, but it
would be nicer to handle that transparently.
Get latest updates about Open Source Projects, Conferences and News.