I'm not familiar with tinlib, but if you can export your books in MARC format, you've gotten a lot of the work done.Does tinlib use an SQL database?