Rockbox General > Rockbox General Discussion

database.unignore recent commit

(1/1)

ryran:
"add support for database.unignore files (adds dirs to the database which would be skipped because of a database.ignore file)"

I'm curious to understand... If you had a database.ignore file in a directory and you no longer wanted it ignored, couldn't you just delete it? What am I missing? ...That folders get permanently ignored until you add an .unignore file?

GodEater:
The unignore file is for getting the database to take notice of a sub-directory of something you've marked as wanting the database to ignore.

For Example, lets say you have the following folders on your DAP :

Music/Random Files/Podcasts

You have a database.ignore file in your "Random Files" directory - but you'd like the database to index the content of "Podcasts".

With the old behaviour, you'd need to move the "Podcasts" directory outside of "Random Files", since the database.ignore file in it would exclude everything in it, including the subdirectory "Podcasts". Now though, you can an a database.unignore file into "Podcasts", and the database will add it's content on the next scan.

markun:
Thanks for explaining! I guess my commit message was not very clear. Sorry about that :)

In my case I have a database.ignore in the root of my player and just 1 database.unignore in my albums folder somewhere in my tree (while I have audio files in many other folders like my SPC files, podcasts, test-files, etc.. which I don't want in my database)

ryran:
Ahhhh. I see. So simple. :)

Navigation

[0] Message Index

Go to full version