71
General - (fb2k) / Re: Album list view for single genre?
Last post by anamorphic -I'm not sure you need that first $if - you could use $swapprefix to put 'The' at the end, if that is what you were trying to get.
To show a single genre, wrap the entire view pattern in an $if test for that genre - $strstr will test for partial match (so multi-value genre tags get included), or $strcmp for exact match (single value tag) -
Code: [Select]
$if($strstr(%genre%,5.1),$swapprefix(%album artist%,The)|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%)
(I'm not on PC to test this but it should work)