Patch: Tracker path settings

Rating: 
3.5
Your rating: None Average: 3.5 (2 votes)

https://coderus.openrepos.net/pm2/project/virgi-sailfish-patch-trackerpa...

Patch for PatchManager

Adds settings for changing Tracker's paths, so you can choose what dirs are used for your Gallery, Music, etc applications

Available options are:

1) Ignored directories - these dirs will be ignored by tracker

2) Included single directories - these dirs will be used by tracker (child dirs are ignored)

3) Included recursive directories - these dirs will be used by tracker (child dirs are included)

You can unlock default paths and choose any dir with pulley menu's "Unlock advanced settings"

Screenshots: 
Changelog: 

- added feature to set any path (advanced settings)

Comments

virgi's picture

will update next week. Was away for really long time :)

DarkTuring's picture

BUG: ignored directories doesnt do anything in SFOS 2.0.5.6 Intex Aquafish.

1. i selected advanced settings deleted all presets and customizations in tracker,

2. In ignored directory i went to nemo/music path and album path in which a jpg existed,

3. In utitlities i started tracker to reindex,

4. I opened gallery and the Album image that i explicitly selected tge tracker to ignore shows up in Gallery as image.

tiiagoFernandez's picture

I understand that this changes the trackers directories, but for eg. if i change the photos dir, where will the camera place my photos when taken? In the same default or the updated tracker path?

This might be a dumb question, sorry.

virgi's picture

it will place it in the same folder. If you delete it from tracker paths, you won't see camera's photos in Gallery

tiiagoFernandez's picture

Yeah, that was what i had in mind. Any way to change default behavior?

virgi's picture

not at the moment.
One thing you can do is create a soft link that will point at /home/nemo/Pictures to wherever you want.

tiiagoFernandez's picture

Hm, thanks.

I will look into it later then. Im gonna reflash my Sailfish rn, and move all stuff to a new SD card.

Performance is getting choppy

Observer's picture

Спасибо за патч.
В версии 0.2 он устанавливался и работал даже на версии ОС 1.1.7.28, а с последним обновлением (0.3) уже нет. Можно ли собрать его так, чтобы работал также на предыдущих версиях Sailfish? По крайней мере, когда появится блокировка директорий с sd-карты?

HtheB's picture

Nothing happens when pressing on one of the 3 options... :(

Using version 2.0.0.10

virgi's picture

Ahoy mate. I've updated patch, you can try again

HtheB's picture

Update works! Thanks!

It would be nice to support landscape as well. Folder names do not fit horizontally :P

Ancelad's picture

You should install "Allow settings rotate" or "Allow any orientation" patch.

virgi's picture

it is not up for me, it's up for Settings developers in jolla=) but i see the problem

virgi's picture

can you look for errors in journalctl when pressing any option?

virgi's picture

wow, sorry about that! i will probably need to add some dependancies=( will update

eatdirt's picture

Hi man,

I love the idea but it seems impossible to add something not in /home/nemo on my phone. For instance, that would be usefull for adding sdcards subdirs to the path.

Also, for users not using Android, all the default paths to it could be removable. Even the name "Android" is ugly to my eyes :)

thanks.

Cheers.

virgi's picture

well, i didn't want to mess with default paths, so i blocked it.

as for sdcards, that's my bad, totally forgot about it=) will update it

Probably will add something like advanced settings allowing to add/remove anything

oenone's picture

Is there any progress on allowing paths ot the SD card? It doesn't seem to be possible in 0.3, and unlocking the default paths doesn't seem to change anything as it isn't possible to type in a path or browse lower in the file heirarchy than /home/nemo.

Work around might be to make a symlink between /media/sdcard/****-****/Music and /home/nemo/music, but I am not sure how to do that and it doesn't seem like an elegant solution.

virgi's picture

will do

Ancelad's picture

Nice. I've made simple icon for it

 

oenone's picture

Great icon Ancelad! However, is it possible to make the icon scale with the device resolution? On 1920×1080 resolution Sailfish devices the icon is small compared to all the other (default) icons.

virgi's picture

thanks mate! That's very nice! But how about sharing a link to that icon? =)

virgi's picture

thanks again! updated