Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Can't get tracker.cfg to work right

    Reply
    Page 1 of 2 | 1   2   | Next
    late666 | # 1 | 2010-03-14, 01:44 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    late666 | # 2 | 2010-03-14, 16:06 | Report

    This is really bothering me, and I can't figure it out.. Can anyone help?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lreeves | # 3 | 2010-03-14, 19:11 | Report

    Did you try rebooting the phone after making the changes to the tracker configuration? I found that necessary when excluding folders on mine.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Konceptz | # 4 | 2010-03-15, 00:01 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    late666 | # 5 | 2010-03-15, 00:47 | Report

    Both don't change a thing..

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Konceptz | # 6 | 2010-03-15, 02:15 | Report

    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)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    demiurgus | # 7 | 2010-03-22, 11:31 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to demiurgus For This Useful Post:
    Maruzko, scyzor

     
    rajsite | # 8 | 2010-05-17, 16:11 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    demiurgus | # 9 | 2010-05-17, 18:17 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Maruzko | # 10 | 2010-11-07, 23:11 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout