getmusicbee.com

Support => Questions => Topic started by: Sofocl on November 18, 2019, 06:51:52 PM

Title: Adjust the virtual tag
Post by: Sofocl on November 18, 2019, 06:51:52 PM
Help to Adjust so that the album is not displayed if the first rule is executed;

$If($Contains(<Title>,": ")="F",,$Split(<Title>,": ",1)) $IsNull(<Title>,<Album>,<Album>)
Title: Re: Adjust the virtual tag
Post by: smann on November 19, 2019, 12:16:51 AM
Helps to explain in detail exactly what you are trying to achieve. I can't quite follow what you're looking for from that tag.
Title: Re: Adjust the virtual tag
Post by: psychoadept on November 19, 2019, 01:00:58 AM
If I understand what you're asking for, try this:

$If($Contains(<Title>,": ")="F",$IsNull(<Title>,<Album>,<Album>),$Split(<Title>,": ",1))

Then if title is not null AND does not contain ":" the album will be displayed.
Title: Re: Adjust the virtual tag
Post by: Bee-liever on November 19, 2019, 06:10:09 AM
if title is not null AND does not contain ":" the album will be displayed.

I find if you work from what you least want to what you most want in the virtual tag, you end up with the shortest expression:
$IsNull(<Title>,<Album>,$If($Contains(<Title>,": ")="T",$Split(<Title>,": ",1),<Title>))

Title: Re: Adjust the virtual tag
Post by: Sofocl on November 19, 2019, 06:30:30 PM
Great. Thank you all! Option psychoadept the that need to.

Now for classic albums it looks like this:
(https://i.imgur.com/iJBkWPH.jpg)
And for the rest so:
(https://i.imgur.com/WCu6Txn.jpg)