Hi,
I have played around with RC3 of firmware 2.0 and really like it. The only issue is that the scribble merger cannot yet process the new metadata format. I know which parts are different, but do not understand the irextools code enough to change it. So what I did is to write a small converter to change the database such that ism can read it (be careful, it can be that neither firmware 1.7 nor 2.0 can read it then, so use it only on copies of metadata, see my latest script on
https://www.mobileread.com/forums/showthread.php?t=62682 for an example of how to do it).
Here is the script, it requires you to have SQLite3 installed, which on debian is only a very small standalone package. I hope it helps. Also, it should make clear how the metadata differs, which should make it easy to modify the irextools code accordingly.
db=$1
#before changing anything, check firmware version of the file
#(this is very rough, it would be nice if I could just add one global variable)
tablesinfile=`sqlite3 $db ".tables"`
version1xtable=`echo $tablesinfile |grep version1x`
if [ -n "$version1xtable" ]
then
echo "file" $db "has already been converted to database version of firmware 1.x, skipping"
exit 0
else
echo "file" $db "has not yet been converted to database version for firmware 1.x, converting now"
fi
#if we convert, write an empty table "version1x" to indicate that we did so
sqlite3 $db "CREATE TABLE version1x (converted NULL)"
#add the file_type field to file_metadata (is missing in firmware 2.0)
sqlite3 $db "ALTER TABLE file_metadata ADD COLUMN file_type VARCHAR(250)"
#fill that field with "pdf" (even if this is not always correct, this is the easiest way for now, as I do not know how to use regular expressions like where filename='*.pdf' )
sqlite3 $db "update file_metadata set file_type='pdf'"
#change the content of start_anchor in annotations to fit the 1.x syntax
#this is done by changing the value to "pdf:/page:"+the page number from file_position
sqlite3 $db "update annotations set start_anchor='pdf:/page:'||file_position"
exit 0