Summary Format for Player [#17394]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Summary Format for Player [#17394]

Re: Summary Format for Player [#17394]

by Peke » Thu Nov 04, 2021 8:23 pm

Hi,
FYI for reference all is explained under $IF at https://www.mediamonkey.com/wiki/WebHel ... _Reference

Re: Summary Format for Player [#17394]

by MPG » Wed Oct 06, 2021 2:22 pm

Solution tested & Verified!

Thanks Jiri!

Re: Summary Format for Player [#17394]

by jiri » Wed Oct 06, 2021 2:47 am

Hi, the correct mask should look like

Code: Select all

$if(<Genre>=Top 100, <Year> - <Artist> - <Title>, <Artist> - <Album> (<Year>$) - <Track#:2> - <Title>)
i.e. prepend the '$' character.

Jiri

Re: Summary Format for Player [#17394]

by MPG » Sat Jan 16, 2021 3:03 pm

Thanks Lowlander.

I tried using escape characters and the chr function with no luck as well. Thanks for creating the issue.

Re: Summary Format for Player

by Lowlander » Sat Jan 16, 2021 2:59 pm

I see it too: https://www.ventismedia.com/mantis/view.php?id=17394

Code: Select all

$if(<Genre>=Top 100, <Year> - <Artist> - <Title>, <Artist> - <Album> (<Year>)) - <Track#:2> - <Title>)

gets you a little closer for now, or

Code: Select all

$if(<Genre>=Top 100, <Year> - <Artist> - <Title>, <Artist> - <Album> [<Year>] - <Track#:2> - <Title>)

Summary Format for Player [#17394]

by MPG » Sat Jan 16, 2021 1:25 pm

Hi,
I'm trying to format the text on the player to use the following logic
If genre = Top 100
Year - Artist - Title
Otherwise
Artist - Album (Year) - Track# - Title

This is my current logic
$if(<Genre>=Top 100, <Year> - <Artist> - <Title>, <Artist> - <Album> (<Year>) - <Track#:2> - <Title>)

It works for genre = "top 100, the other songs come up with:
Artist - Album (Year - track# - Title)

I have tried a variety of options with no success. Can you help?

Top