2011-02-15, 05:55
I have a pretty decent iTunes music collection and I'd like to import that into my XBMC library so I can listen to them from there too. However, in there I have lots of Best Of Year/Genre compilation CD's like 'Hitzone', 'Mastermix', etc that really mess up the library. Not to mention make XBMC go haywire trying to scrape them all (there's thousands of artists if you add them all up). I really just want my regular artist/album collection on the system.
In any other situation I'd just have moved the compilations to another location and let XBMC scrape the rest, but iTunes runs my collection so I have little say in the matter. Handily though it puts all of these compilation CD's into one directory called 'Compilations' on the same level as all the other artist directories. The entire music dir is shared on a samba share from my iMac. I'd like to exclude this compilations directory through advancedsettings.xml and from the examples I saw on the forum I thought this would be enough:
But that didn't do anything. I suppose this only works on the file level? What should I put in the regexp tag for it to exclude the entire Compilations directory?
Also, would a similar regexp work for me to exclude not the entire Compilations dir, but just a set of Compilations subdirectories like all Hitzone or all Mastermix albums? That way some of the valid albums in the Compilations dir could be kept...
In any other situation I'd just have moved the compilations to another location and let XBMC scrape the rest, but iTunes runs my collection so I have little say in the matter. Handily though it puts all of these compilation CD's into one directory called 'Compilations' on the same level as all the other artist directories. The entire music dir is shared on a samba share from my iMac. I'd like to exclude this compilations directory through advancedsettings.xml and from the examples I saw on the forum I thought this would be enough:
Code:
<audio>
<excludefromscan>
<regexp>Compilations</regexp>
</excludefromscan>
</audio>
But that didn't do anything. I suppose this only works on the file level? What should I put in the regexp tag for it to exclude the entire Compilations directory?
Also, would a similar regexp work for me to exclude not the entire Compilations dir, but just a set of Compilations subdirectories like all Hitzone or all Mastermix albums? That way some of the valid albums in the Compilations dir could be kept...