maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Telling Media Player to ignore certain directories (https://talk.maemo.org/showthread.php?t=64983)

SubCore 2010-11-04 13:28

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by jedi (Post 863191)
Maybe my outpouring of love was a little premature?!

hehe yes, i said maybe this'll work :)
for some programs, the filename to which pattern matching is applied contains the whole path, for some it doesn't.
apparently tracker belongs in the latter group.

kureyon 2010-11-04 14:07

Re: Telling Media Player to ignore certain directories
 
You can try this (this is assuming that /home/user/MyDocs/Music/ only contains sub-directories that actually hold your music and album art:

Code:

NoIndexFileTypes=/home/user/MyDocs/Music/*/*.jpg;
If /home/user/MyDocs/Music/ also contains album art then you need to add an extra path:

Code:

NoIndexFileTypes=/home/user/MyDocs/Music/*.jpg;
And you may need to add extra paths like so depending on how you have stored your music and how many levels deep:

Code:

NoIndexFileTypes=/home/user/MyDocs/Music/*/*.jpg;/home/user/MyDocs/Music/*/*/*.jpg;

slender 2010-11-04 14:10

Re: Telling Media Player to ignore certain directories
 
When making changes to tracker cfg you have to remember that some changes happen only after when you rebuild database. So restarting tracker doesnīt remove pics/videos from database if you have chosen to ignore some directory.

jedi 2010-11-04 14:14

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by slender (Post 863260)
When making changes to tracker cfg you have to remember that some changes happen only after when you rebuild database. So restarting tracker doesnīt remove pics/videos from database if you have chosen to ignore some directory.

You mean with
Code:

$ tracker-processes -r
?

slender 2010-11-04 14:20

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by jedi (Post 863265)
You mean with
Code:

$ tracker-processes -r
?

Yep IIRC. I normally use tracker configuration GUI which has those commands in top menu.

Code:

user@Nokia-N900-42-11:~$ tracker-processes --help
Usage:
  tracker-processes [OPTION...]  - Manage Tracker processes and data

Help Options:
  -?, --help          Show help options

Application Options:
  -k, --kill          Use SIGKILL to stop all tracker processes found - guarantees death :)
  -t, --terminate      Use SIGTERM to stop all tracker processes found
  -r, --hard-reset    This will kill all Tracker processes and remove all databases

.edit
and btw. Tracker manages the index of email also dunno about sms&im messages, contacts etc. so please be aware that it will rebuild ALL indexes. Not only audio & video.

jedi 2010-11-04 14:23

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by slender (Post 863271)
Yep IIRC. I normally use tracker configuration GUI which has those commands in top menu.

Code:

user@Nokia-N900-42-11:~$ tracker-processes --help
Usage:
  tracker-processes [OPTION...]  - Manage Tracker processes and data

Help Options:
  -?, --help          Show help options

Application Options:
  -k, --kill          Use SIGKILL to stop all tracker processes found - guarantees death :)
  -t, --terminate      Use SIGTERM to stop all tracker processes found
  -r, --hard-reset    This will kill all Tracker processes and remove all databases


Right, thanks. Yeah I've been doing that.... (and waiting half an hour while it re-creates the indexes)

slender 2010-11-04 14:31

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by jedi (Post 863274)
Right, thanks. Yeah I've been doing that.... (and waiting half an hour while it re-creates the indexes)

Yeah if you have lotīs of stuff. And just a thought. If you have just couple of files that you want to remove then better and faster way would be:
copy files to desktop pc
delete files from n900
change tracker configuration
copy them back to n900

jedi 2010-11-04 14:34

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by kureyon (Post 863256)
Code:

NoIndexFileTypes=/home/user/MyDocs/Music/*/*.jpg;
If /home/user/MyDocs/Music/ also contains album art then you need to add an extra path:

Thanks, but made no difference. Nor did the other ideas :(

kureyon 2010-11-04 18:31

Re: Telling Media Player to ignore certain directories
 
Quote:

Originally Posted by jedi (Post 863288)
Thanks, but made no difference.

Been running some tests, have tried path with fileglob and just plain fileglob

Code:

NoIndexFileTypes = /media/mmc1/music/*/*/*.jpg;/media/mmc1/music/*/*/*/*.jpg;*.mp4
But they still get indexed.

And doing lots of googling, I think I can only come to this conclusion:
NoIndexFileTypes does not work

cjsegninir 2010-11-05 02:05

Re: Telling Media Player to ignore certain directories
 
I did the music correctly, but I want to do the same with pictures. When I go to the gallery, I don't want to see all the album art...
Any help?


All times are GMT. The time now is 17:02.

vBulletin® Version 3.8.8