|
|
@ -454,10 +454,10 @@ int main(int argc, char **argv) {
|
|
|
|
for ( itr = booksIds.begin(); itr != booksIds.end(); ++itr ) {
|
|
|
|
for ( itr = booksIds.begin(); itr != booksIds.end(); ++itr ) {
|
|
|
|
libraryManager.getBookById(*itr, currentBook);
|
|
|
|
libraryManager.getBookById(*itr, currentBook);
|
|
|
|
string humanReadableId = currentBook.getHumanReadableIdFromPath();
|
|
|
|
string humanReadableId = currentBook.getHumanReadableIdFromPath();
|
|
|
|
zimPath = currentBook.path;
|
|
|
|
zimPath = currentBook.pathAbsolute;
|
|
|
|
|
|
|
|
|
|
|
|
if (!zimPath.empty()) {
|
|
|
|
if (!zimPath.empty()) {
|
|
|
|
indexPath = currentBook.indexPath;
|
|
|
|
indexPath = currentBook.indexPathAbsolute;
|
|
|
|
|
|
|
|
|
|
|
|
/* Instanciate the ZIM file handler */
|
|
|
|
/* Instanciate the ZIM file handler */
|
|
|
|
kiwix::Reader *reader = NULL;
|
|
|
|
kiwix::Reader *reader = NULL;
|
|
|
|