Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Exclude in Album List View (Read 585 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Exclude in Album List View

Is there a way to exclude music from an album list view?

Example: `[exclude:%genre%='blah']`


 

Re: Exclude in Album List View

Reply #1
Hi there,

You can exclude using an $if function. It works better with a group of tracks (a genre or album or folder) to exclude by, otherwise it would get too ridiculously long for individual tracks.

Just wrap the entire view pattern inside an $if, for example -

Code: [Select]
$if($stricmp(%genre%,Pop),,%<genre>%|%album%|%title%)

^ $stricmp is a case-insensitive exact match, so the above would exclude 'Pop' only for single-value genre tags. If tags are multi-value ('Pop; Rock') you would use $strstr instead. See foobar Help menu > Title Formatting Help or the Reference wiki for more info.

You could also make files / folders hidden in Windows Explorer to exclude them from the media library entirely.

Cheers