Excluding a directory from audio library
#1
Hi,
I have a directory Radiohead with subdirs:
Albums
Bsides
Extra

I want to exclude all files within the extra subdir so they won't be added to the library.

I managed to get it working with this in the advancedsettings.xml:
<excludefromscan action="append">
<regexp>extra</regexp>
</excludefromscan>

but not with this

<regexp>radiohead\\extra</regexp>
or
<regexp>radiohead.*extra</regexp>

is there any way to specify to exclude radiohead\extra from the library? (and not just any dir named 'extra')?

thanks
Reply
#2
You only need one slash, and the orientation of the slash may depend on the filesystem in use (any URI style would use /, windows local files use \)

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Excluding a directory from audio library0