View Single Post
Old 03-18-2010, 05:14 PM   #12
godel10
Connoisseur
godel10 doesn't littergodel10 doesn't littergodel10 doesn't litter
 
Posts: 80
Karma: 204
Join Date: Jun 2007
Device: Sony Librie, Irex DR1000S
Quote:
Originally Posted by Mackx View Post
So the next experiment:
- first go to the folder of the actual file that you copied (you don't have to open the file, browsing the folder is enough)
- Then open the file via the shortcut and make some annotations
- Close and reopen
If this works we need to find a way to add new files to the metadata.db, so annotations can be linked to the file.
You were totally right : the trouble was that we cannot use a shortcut for a pdf file until the metadata.db file has been created for the pdf file.

Hence, as you say, next I have to look at sqlite3 to find a way to add a pdf file to the metadata.db file (the one located in the same folder). Indeed, it would be much better to find a way to do it on the fly on the DR device; i.e., if you use a file shortcut for a pdf file without metadata.db then create the metadata.db file before opening the pdf file.
godel10 is offline   Reply With Quote