View Single Post
Old 07-28-2012, 04:01 PM   #3828
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by srs View Post
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)
Mark Nord is offline   Reply With Quote