Re: foo_upnp
Tracks with multiple artists in the Media Library Tree?
In the Media Library Tree, I'd like to split up the %artist% or %album artist% tag if it contains multiple values. In foo_upnp_ml_tree.xml, I'm using the following code to try and achieve this:
<SubTree label="Artists" query="muco PRESENT">
<spec type="object.container.genre.musicGenre">%<genre>%</spec>
<spec type="object.container.person.musicArtist">%<album artist>%</spec>
<spec type="object.container.album.musicAlbum">%album%</spec>
</SubTree>
%muco% is a custom tag that I use.
%<genre>% works fine for splitting up the %genre% tag, but at the moment I'm only using single word genre names.
%<album artist>% is giving me problems. It works, but it sees not only semicolons but also regular commas as a delimiter. So if I have an album with Davis, Miles; Coltrane, John as artist value, it gets split up like this:
Coltrane
Davis
John
Miles
Does somebody know how I can make the tree treat only the semicolon as a delimiter?