View Single Post
Old 08-11-2008, 08:25 AM   #17
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
I have added some logging code (new version at the top of this thread). This produces a search-log.txt file that should appear in your contentlister. Here's an example of the results while searching the internal memory:
Code:
This search was done on: Mon Aug 11 13:06:23 GMT-01:00 2008
STARTDIR (where the search will start from): "/mnt/free"
STRING (the string we are searching manifest files for): illiam
Number of manifest.xml files found: 33
Number of manifest.xml files that contain the search string: 0
The "Delete results" entry will now delete the log file as well as the results.

Initially I found that it was working with USB and internal memory, but not CF. This baffled me for a bit, but it turns out I need to have a trailing slash at the end of the STARTDIR. I have added trailing slashes to the paths in the config file and have confirmed that it now works with CF. I cannot explain why it worked before with /mnt/usb and /mnt/free but not /mnt/cf.

Please try the new version at the top of the thread and let me know if it works. BTW, thanks for sticking with this and not giving up on it. I don't normally use CF so I had no idea it was not working.
daudi is offline   Reply With Quote