View Single Post
Old 07-01-2011, 06:18 PM   #58
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Hi,

I've been some days away for work reasons.

Anyway tonight I've rewritten some parts of the patch.
Now the covers are stored as <sd_card>/System/.covers/size/xx/file_id.png
where:
size = thumbnail size: "small" or "medium"
xx = file_id % 256, in hexadecimal
file_id = book identifier index inside global.db

This way we could provide a two way conversion between "classic" format (with thumbnails inside the db) and new format.

Now I have to complete the code to handle file deletion and finish the migration tools.

Best regards,
Iņigo
Attached Files
File Type: gz covers_in_fs.patch.gz (5.1 KB, 418 views)
Iņigo is offline   Reply With Quote