Summary Format for Player [#17394]

Get answers about using MediaMonkey 4 for Windows.

Modérateur : Gurus

MPG
Messages : 447
Inscription : mar. mai 13, 2008 11:22 pm

Summary Format for Player [#17394]

Message par 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
Messages : 59366
Inscription : sam. sept. 06, 2003 5:53 pm

Re: Summary Format for Player

Message par Lowlander »

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

Code : Tout sélectionner

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

gets you a little closer for now, or

Code : Tout sélectionner

$if(<Genre>=Top 100, <Year> - <Artist> - <Title>, <Artist> - <Album> [<Year>] - <Track#:2> - <Title>)
MPG
Messages : 447
Inscription : mar. mai 13, 2008 11:22 pm

Re: Summary Format for Player [#17394]

Message par 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
Messages : 5433
Inscription : mar. août 14, 2001 7:00 pm

Re: Summary Format for Player [#17394]

Message par jiri »

Hi, the correct mask should look like

Code : Tout sélectionner

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

Jiri
MPG
Messages : 447
Inscription : mar. mai 13, 2008 11:22 pm

Re: Summary Format for Player [#17394]

Message par MPG »

Solution tested & Verified!

Thanks Jiri!
TIA
MPG
Triumph - Hold On: Music holds the secret, to know it can make you whole.
Peke
Messages : 18598
Inscription : mar. juin 10, 2003 7:21 pm

Re: Summary Format for Player [#17394]

Message par 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
Répondre