Quote:
Originally Posted by Iņigo
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
|
That is a brilliant move, using the unique file_id from global.db. I pushed a solution based on your previous code to BitBucket a few days ago. But this will make it more easy I guess.