Daverz;464453 Wrote: 
> I'd like to create a custom tag with a format like
> 
> ARTIST/CONDUCTOR/BAND
> 
> I've tried
> 
> ALLARTISTS=combine
> ARTIST|ARTIST(text=/)|CONDUCTOR|CONDUCTOR(text=/)|BAND
> 
> But this results in a trailing slash if there is no CONDUCTOR or BAND. 
> Is there a better way to do this?
> 
Try this:
ALLARTISTS=combine
ARTIST|CONDUCTOR(text=/)|CONDUCTOR|BAND(text=/)|BAND

However, I suppose you would get a leading / if ARTIST was missing so
I'm not sure if that'll cause a problem ?

Daverz;464453 Wrote: 
> 
> I'd also like to add another custom tag to disambiguate multiple
> recordings with the same artists.  Can I do something like this?
> 
> ALLARTISTS=combine
> ARTIST|ARTIST(text=/)|CONDUCTOR|CONDUCTOR(text=/)|BAND,DESCRIPTION=oneof
> SHORT_DESCRIPTION|ALLARTISTS
> 
> where MOREINFO is a custom tag and ALLARTISTS and DESCRIPTION are
> virtual tags.  So if a tag SHORT_DESCRIPTION is non-empty it is used,
> else the ALLARTISTS virtual tag is used.
> 
I think it will work, but I'm not completely sure. I don't have the
time to look at the code at the moment to tell for sure.

Why don't you give it a try and see what you get and report back if it
works or not.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=68814

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to