View Single Post
Old 08-17-2011, 04:07 PM   #3
soleilos
Junior Member
soleilos began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: none
Thanks theducks,

This forum is like chat. Fortunately, I found a solution which works perfectly. Here are the steps you need to take:

1) Create a folder called CalibreMetadata in Calibre folder.
2) Copy the Metadata.db file to this folder.
3) Make sure you have CalibreLibrary folder on the DVD which holds the books plus the metadata.db file.
4) Copy Calibre-Portable.bat from resource folder to Calibre folder.
5) Make sure of the following setting in Calibre-Portable.bat

IF EXIST %cd%\CalibreMetadata\metadata.db (
IF NOT "%CALIBRE_LIBRARY_DIRECTORY%" == "%cd%\CalibreMetadata" (
SET CALIBRE_OVERRIDE_DATABASE_PATH=%cd%\CalibreMetadat a\metadata.db
ECHO DATABASE: %cd%\CalibreMetadata\metadata.db
ECHO '
ECHO ***CAUTION*** Library Switching will be disabled
ECHO '
)
)

Please notice that CALIBRE_OVERRIDE_DATABASE_PATH is set the to CalibreMetadata.

6) Run the Calibre program by running Calibre-Portable.bat.
7) When Calibre loads it will ask for the Library path then choose the library path from your DVD.

But the Calibre Library switching will be disabled.

It worked for me as well.

Take care.
soleilos is offline   Reply With Quote