Open klodeckl opened 13 years ago
I've made an (admittedly naïve) patch: https://github.com/pipian/forked-daapd/commit/3fca76ba23e49f6a62c5adacb5907e7db63685c0
It could probably be improved by caching the return values of m_realpath for each exclude_directories entry in a map. Since the number of excluded directories is relatively low for me, it's not really a worthwhile optimization.
How about a new feature in the conf file: Exclude paths. E.g. if you got an iTunes library, then you could exclude folders like, Previous iTunes Libraries, Mobile Applications or Album Artwork.