Reply
Thread Tools
late666's Avatar
Posts: 144 | Thanked: 75 times | Joined on Dec 2009 @ Israel
#1
I'm probably doing something wrong, but I couldn't figure it out myself searching the forum..
I can't seem to add folders to the NoWatch list..
The ones who were originally there are blocked, but the ones I've tried to add (Games and recordings) still show in the media player.. Also folders that I haven't added to the watch list *do* show in the player.. As if it's monitoring all of mydocs..

This is the tracker.cfg file.. Why is it doing that?

Code:
[General]
# Log Verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)
Verbosity=0
# Initial sleep time in seconds (0->1000)
InitialSleep=7
# Minimizes memory use at the expense of indexing speed
LowMemoryMode=false
# Set to TRUE when the home directory is in a NFS filesystem
NFSLocking=false

[Watches]
# List of directory roots to index and watch (separator=;)
WatchDirectoryRoots=$HOME/MyDocs/.sounds/;$HOME/MyDocs/.documents/;$HOME/MyDocs/.videos/;$HOME/MyDocs/.images/;$HOME/MyDocs/.camera/;
# List of directory roots to index but NOT watch (separator=;)
CrawlDirectory=
# List of directory roots NOT to index and NOT to watch (separator=;)
NoWatchDirectory=$HOME/MyDocs/core-dumps/;$HOME/MyDocs/cities/;$HOME/MyDocs/.sounds/Ringtones/;$HOME/MyDocs/tmp/;/media/mmc1/tmp/;/media/mmc1/cities/;$HOME/MyDocs/games/;$HOME/MyDocs/recordings/;
# Set to false to completely disable any watching
EnableWatching=true

[Indexing]
# Sets the indexing speed (0->20, where 20=slowest speed)
Throttle=0
# Set to false to completely disable any indexing
EnableIndexing=true
# Set to false to completely disable file content indexing
EnableFileContentIndexing=true
# Set to false to completely disable thumbnail generation
EnableThumbnails=true
# List of disabled modules (separator=;)
# The modules that are indexed are kept in $prefix/lib/tracker/indexer-modules
DisabledModules=
# Set to false to NOT hog the disk for extended periods
FastMerges=false
# List of partial file pattern globs (separator=;)
# This is for files to NOT index
# (basic stat info is only extended for files that match the patterns)
NoIndexFileTypes=
# Set the minimum length of words to index (0->30, default=3)
MinWordLength=3
# Set the maximum length of words to index (0->200, default=30)
MaxWordLength=30
# Set the language specific stemmer and stopword list to use
# Values include:
# - en (English)
# - da (Danish)
# - nl (Dutch)
# - fi (Finish)
# - fr (French)
# - de (German)
# - it (Italian)
# - nb (Norwegian)
# - pt (Portugese)
# - ru (Russian)
# - es (Spanish)
# - sv (Swedish)
Language=en
# Set to false to disable language specific stemmer
EnableStemmer=true
# Set to true to disable indexing when running on battery
BatteryIndex=false
# Set to true to disable initial indexing when running on battery
BatteryIndexInitial=false
# Pause indexer when disk space is <= this value
# (0->100, value is in % of $HOME file system, -1=disable pausing)
LowDiskSpaceLimit=1
# Set to true to enable traversing mounted directories on other file systems
# (this excludes removable devices)
IndexMountedDirectories=true
# Set to true to enable traversing mounted directories for removable devices
IndexRemovableMedia=true

[Performance]
# Maximum text size in bytes to index from a file's content
MaxTextToIndex=1048576
# Maximum unique words to index from a file's content
MaxWordsToIndex=10000
MinBucketCount=32768
MaxBucketCount=65535
Thanks.
 
late666's Avatar
Posts: 144 | Thanked: 75 times | Joined on Dec 2009 @ Israel
#2
This is really bothering me, and I can't figure it out.. Can anyone help?
 
Posts: 10 | Thanked: 4 times | Joined on Feb 2010 @ Toronto
#3
Did you try rebooting the phone after making the changes to the tracker configuration? I found that necessary when excluding folders on mine.
 
Posts: 170 | Thanked: 75 times | Joined on Jun 2008 @ NYC
#4
Originally Posted by lreeves View Post
Did you try rebooting the phone after making the changes to the tracker configuration? I found that necessary when excluding folders on mine.

Or try deleting all the .db files and then rebooting in:

/home/user/.cache/tracker
 
late666's Avatar
Posts: 144 | Thanked: 75 times | Joined on Dec 2009 @ Israel
#5
Both don't change a thing..
 
Posts: 170 | Thanked: 75 times | Joined on Jun 2008 @ NYC
#6
Any weird linking going on between directories? It's my last guess as I can't see anything wrong with the tracker.cfg (to the best of my knowledge)
 
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#7
Your tracker.cfg looks ok, you should try refreshing the databases the proper way (you don't need to reboot phone to apply tracker settings). If you like command line do:
tracker-processes -r
/usr/lib/tracker/trackerd &

If you want a GUI I have written one that is in extras-devel called tracker-cfg.

And yes, the entire MyDocs directory is indexed, this is because it counts as a removable device.
 

The Following 2 Users Say Thank You to demiurgus For This Useful Post:
Posts: 5 | Thanked: 2 times | Joined on Mar 2010
#8
Is there any way to prevent all of the MyDocs folder from being indexed? I have some projects stored on there with thousands of images and it is just making the phone sluggish. I was trying to make it so that only the music, DCIM and video folders are indexed using the tracker-cfg tool.

Edit: I was able to add folders to nowatch and remove them successfully, but it is a pain to do it for every folder I add
 
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#9
I think it is easier if you just put MyDocs (i.e. the root of internal drive in the gui file browser) in NoWatchDirectory and then add the foldrs you want indexed to WatchDirectoryRoots. If you have some dirs that you only fill with content when connecting in mass storage mode (e.g. for me my music folder work this way), you can put them in CrawlDirectory instead.
 
Maruzko's Avatar
Posts: 145 | Thanked: 44 times | Joined on Jun 2010 @ Sydney
#10
Originally Posted by demiurgus View Post
If you like command line do:
tracker-processes -r
/usr/lib/tracker/trackerd &

If you want a GUI I have written one that is in extras-devel called tracker-cfg.

And yes, the entire MyDocs directory is indexed, this is because it counts as a removable device.
I also had the problem of extra audio files appearing in Media Player after installing Sygic Mobile Maps and Extra Decoders Support.

I edited the tracker.cfg file manually and added the additional folders to the NoWatch list, ran 'tracker-processes -r' and rebooted but Media Player would still show the additional audio files.

I then installed the 'tracker-cfg' app. It showed the additional folders I had already added manually. I didn't change anything except I selected 'Rebuild Databases' and it worked perfectly.

Thank you demiurgus
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:55.