Summary Format for Player [#17394]

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Summary Format for Player [#17394]

Post by MPG »

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?
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
Lowlander
Posts: 56491
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Summary Format for Player

Post by Lowlander »

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>)
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: Summary Format for Player [#17394]

Post by MPG »

Thanks Lowlander.

I tried using escape characters and the chr function with no luck as well. Thanks for creating the issue.
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
jiri
Posts: 5417
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: Summary Format for Player [#17394]

Post by jiri »

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
MPG
Posts: 418
Joined: Tue May 13, 2008 11:22 pm

Re: Summary Format for Player [#17394]

Post by MPG »

Solution tested & Verified!

Thanks Jiri!
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Summary Format for Player [#17394]

Post by Peke »

Hi,
FYI for reference all is explained under $IF at https://www.mediamonkey.com/wiki/WebHel ... _Reference
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply