Quote:
Originally Posted by srs
Hi Mark,
Adding a book to the "Digital Editions/Thumbnails" caused the book to not show up. That was easy
|
Wow, that I call a quick response!
If you are comfortable with using a beta-pack (see
here) you can add this code-snipped
Code:
// setup custom ignoreDirs
//PARAMS.bootLog("ignoreDirs" + FskCache.diskSupport.ignoreDirs);
var result, lines, i;
try {
if (FileSystem.getFileInfo(PARAMS.Core.config.userDontScanPath)) {
result = PARAMS.getFileContent(PARAMS.Core.config.userDontScanPath);
lines = result.split("\r\n");
if (lines) {
for (i=0; i<lines.length; i++) {
if ((lines[i].indexOf("#")) === -1 && (lines[i].length)) {
FskCache.diskSupport.ignoreDir(lines[i]);
}
}
}
}
}
catch (ee) {
PARAMS.bootLog("error applying ignoreDirs " + ee);
};
in 300_bootstrap.js and place the configuration file "
dontscan.cfg" into /database/system/PRSPlus/
I will neverless add the code to 300_Bootstrap.js with my next push.
(Sunday should be rainy here south of Vienna, so maybe its up tomorrow night)