2019-02-12, 10:41
Path rules gets applied at song level and the path values include all the folders above the music files. This means that you need to use "contains" or "startswith" rules not "is".
As an example:
But you probably have other ways to gather just soundtracks, for example do they have "soundtrack" as a genre? If they do then something like this works.
In v18 you can also just add your soundtracks folder as a separate music source, then filtering by source and sources node will take you there for both artists albums and songs levels. Maybe try that too.
As an example:
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="12" type="filter">
<label>Soundtrack Albums</label>
<icon>DefaultMusicGenres.png</icon>
<content>albums</content>
<rule field="path" operator="startswith"><value>Music/Various Artists/_Soundtracks_</value></rule>
</node>
But you probably have other ways to gather just soundtracks, for example do they have "soundtrack" as a genre? If they do then something like this works.
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node order="2" type="folder">
<label>Classical Albums</label>
<icon>DefaultMusicAlbums.png</icon>
<path>musicdb://albums?genre=classical</path>
</node>
In v18 you can also just add your soundtracks folder as a separate music source, then filtering by source and sources node will take you there for both artists albums and songs levels. Maybe try that too.