Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on Jul 2010
#11
Is it possible not to exclude some folders, but to specify which folders to track?
That would be easier.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#12
I'm stuck now, and have been bashing my keyboard for a while. I know this will be a simple error as well so I apologise in advance.

The folder I want to ignore is called 'Res' and it appears in the home directory (along with 'Drive', 'Mac OS', 'Music' etc. just so you know exactly where I am). In the same directory I created another folder called .config and within this directory I put in another, tracker. Then I edited a file to read NoWatchDirectory=$HOME/Res/; and called it tracker.cfg.

Even though media player has done a rescan the files in the 'Res' directory still appear. Where have I fouled up?

Thanks.
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#13
Originally Posted by lasas View Post
Is it possible not to exclude some folders, but to specify which folders to track?
That would be easier.
WatchDirectoryRoots=DIRECTORY[;MORE;DIRECTORIES]

(srsly, search is your friend...)

Originally Posted by LaptopU View Post
In the same directory I created another folder called .config and within this directory I put in another, tracker.
tracker will only read it's config file from /home/user/.config/tracker/tracker.cfg - that's the file you have to edit. creating your own tracker config file(s) elsewhere won't work.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 

The Following User Says Thank You to SubCore For This Useful Post:
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#14
The MyDocs partition is considered a removable device and is controlled by another setting that tells the tracker to index it by default, so if you want it to only index explicitly given directories you need to add $HOME/MyDocs to No Watch Directories.
You can also try tracker-cfg (I wrote it) from extras-devel that gives you a GUI to modify these settings.
 

The Following 5 Users Say Thank You to demiurgus For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#15
I think I have hit a problem in that case, I am on Ubuntu and cannot see the /home/user/ file and I cannot browse to it. In mass storage mode the only directory I can see and browse is the main folder containing music, DCIM and so on. Any ideas how I can get to the other directories within Ubuntu?
 
Posts: 219 | Thanked: 40 times | Joined on Sep 2010
#16
Originally Posted by LaptopU View Post
I think I have hit a problem in that case, I am on Ubuntu and cannot see the /home/user/ file and I cannot browse to it. In mass storage mode the only directory I can see and browse is the main folder containing music, DCIM and so on. Any ideas how I can get to the other directories within Ubuntu?
Install rootsh and ssh on your phone.
 
Posts: 189 | Thanked: 53 times | Joined on Aug 2010 @ Netherlands
#17
hello i have also a unknown album in my playlist, it's from sygic navigation, the sound files are in /home/user/MyDocs/Res/. (sounds and voices) I have edit the tracker.cfg file, but no result.
What exactly i have to put in the .cfg file and where???
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#18
Brilliant, thanks a lot all worked for me.
 
Posts: 458 | Thanked: 136 times | Joined on Jul 2010 @ Holland
#19
Originally Posted by N900@900MHz View Post
hello i have also a unknown album in my playlist, it's from sygic navigation, the sound files are in /home/user/MyDocs/Res/. (sounds and voices) I have edit the tracker.cfg file, but no result.
What exactly i have to put in the .cfg file and where???
Same for me . . . someone got the solution?
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#20
Originally Posted by Carlito View Post
Same for me . . . someone got the solution?
See post #2 in this thread....?!
 

The Following User Says Thank You to jedi For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:00.