Notices


Reply
Thread Tools
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#1
I want to tell the Media Player only to index files from certain directories and not the entrire MyDocs partition.
After installing some ScummVM games that use a lot of audio files my Media Player is completely bloated by these.
I know, all Nokia phones have always had this issue, but maybe N900 really is smarter...

What really confuses me is that $HOME/.config/tracker/tracker.cfg does list a good set of directories to watch and index, but I guess this configuration is not used, because everything under MyDocs is indexed. Can anyone confirm this (and tell me where to configure it?) or shall I report it as a bug?
 

The Following User Says Thank You to demiurgus For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#2
From what I've read the tracker.cfg file does work.
You'll probably need to remove your tracker dbs after you've changed the file, and then reboot as per this thread.
 

The Following 2 Users Say Thank You to codeMonkey For This Useful Post:
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#3
I haven't changed the tracker.cfg file in any way, but maybe I'm lost to how it is supposed to work. This is what the file looks like:

[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/;

As you can see, plain $HOME/MyDocs isn't listed in WatchDirectoryRoots. Still the entire MyDocs is indexed. Maybe it is :
IndexMountedDirectories=true

that produces this effect?
 

The Following User Says Thank You to demiurgus For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#4
I think you might be right there, since MyDocs is mounted, but if you turn that off then I'm not sure if it will index anything in MyDocs.

Maybe add $Home/MyDocs/ to the no-watch list?
 
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#5
Originally Posted by codeMonkey View Post
I think you might be right there, since MyDocs is mounted, but if you turn that off then I'm not sure if it will index anything in MyDocs.
Tested some more and setting IndexMountedDirectories to false neither stopped MyDocs from being indexed completely or partially. I guess this setting only has effect when mounting after trackerd has been started.

Originally Posted by codeMonkey View Post
Maybe add $Home/MyDocs/ to the no-watch list?
Yes, this worked.

So now I have enough material to scrap together a controlling GUI
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#6
Might be better to alter the behaviour of the image viewer/media player apps/etc. rather than tracker (as having access to all the file data might be useful at some point), so that app only asks for images/audio/video/etc. in certain directories.

Last edited by lardman; 2010-01-08 at 18:19.
 
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#7
There is a mod for the S60v3 fp1 (symbians with feature pack 1) that will show pictures that are in the directory of the default dirs.

music in Sounds folder
photos in Pictures
Movies in Videos


should be done with the N900 too. verry annoying to have the wallpapers in the photos.
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following User Says Thank You to HtheB For This Useful Post:
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#8
Can you use wildcards in the NoWatchDirectory?

Such as: /media/mmc1/*

(Obviously hoping that it will not index anything inside mmc1 and all its sub-directories)
 
Posts: 427 | Thanked: 160 times | Joined on Nov 2009
#9
id love to see a gui app for this. i use my n900 for storage/transfer and torrents and a lot of that stuff is either dupes (flac/v0/v2) or flat out doesnt belong in media player
__________________
Please vote for the following bug:
Media player should play audio tracks continuously (gapless playback)
 
demiurgus's Avatar
Posts: 40 | Thanked: 86 times | Joined on Dec 2009 @ Sweden
#10
You don't need any wildcards, you specify a root directory - nothing under this will be indexed unless explicitly included in WatchDirectoryRoots (and the other way around)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:29.