Quote:
Originally Posted by Iņigo
Things to do before considering this finished:
- change other parts of the DR firmware to use file system instead of DB:
. mdbindex
. metadata extracted from UDS
|
I commented before on this and did some experiments. UDS updates thumbnails (and other info) when a document is first shown. Notepad always updates the thumbnail when it is closed. All updates go via the function ermetadb_file.c:set_file_metadata_impl(). When a thumbnail column is found (look for '// find column in thumbnails' and further), all required information is available. cell_name contains 'thumb_data_medium'/'small'. cell is of type metadata_cell, so the blob info can easily be retrieved (metadata_cell.h). See notepad_thumbnail.cpp for the buffers that are supplied.
Not sure if you found this yourself, but I wanted to contribute also.