Artifact with custom 'track summary' display format [#17355][#17356]

Rispondi al messaggio

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

BBCode attivo
[img] attivo
[url] attivo
Emoticon attive

Revisione argomento
   

Espandi visuale Revisione argomento: Artifact with custom 'track summary' display format [#17355][#17356]

Re: Artifact with custom 'track summary' display format

da Lowlander » ven gen 08, 2021 4:41 pm

I can reproduce with Track Summary: https://www.ventismedia.com/mantis/view.php?id=17356 It is related to the new custom fields 6-10.

Re: Artifact with custom 'track summary' display format

da MayorQwert » ven gen 08, 2021 4:28 pm

I haven't checked all fields but it seems like it's just Custom 6, since Custom 1 and Custom 2 don't have the issue. For now, I'm going to move to using Custom 3 since it doesn't have the same issue.

Re: Artifact with custom 'track summary' display format

da MayorQwert » ven gen 08, 2021 4:26 pm

Updated and can confirm that it still prints Z0 exactly as before.

Re: Artifact with custom 'track summary' display format

da Lowlander » ven gen 08, 2021 2:55 pm

Then definitely update and see if this is a problem in the latest release: viewtopic.php?f=30&t=86639&sd=d

I can reproduce: https://www.ventismedia.com/mantis/view.php?id=17355 This may not get fixed before 5.0 is released. You could use [] for now.

Re: Artifact with custom 'track summary' display format

da MayorQwert » ven gen 08, 2021 2:32 pm

No, there's no Z0 in the tags, I've processed probably 7000 files and all have this artifact. I'm personally on 5.0.0.2275.

Another issue, though this may be syntax, is that I am noticing there doesn't seem to be an effective way to enclose items within a function with parenthesis. It will register the first '(' but the function is aborted as soon as it sees a ')', which means that the ending ',)' that would ordinarily be at the function's end is left behind to always be displayed.

Here's an example:
$if(<Custom 2>,(<Custom 2>) ,)$if(<Custom 6>,<Custom 6>: ,)$if(<Custom 1>,<Custom 1> ,<Album> )(<Year>) -$if(<Title>, <Title>, <Filename>)

Custom 2 states whether a track is an arrangement, it's either blank or "Arrangement".

In this case, it's blank so it shouldn't display anything.
Expectation: Arcade: Crime City (1989) - Ending
Reality: ,)ArcadeZ0: Crime City (1989) - Ending

In this case Custom 2 is "Arrangement"
Expectation: (Arrangement) Out Run (1992) - Splash Wave
Reality: (Arrangement ,)Out Run (1992) - Splash Wave


If this is a syntax error, what would be the proper way to declare parenthesis within an expression?

Re: Artifact with custom 'track summary' display format

da Lowlander » ven gen 08, 2021 1:20 pm

@MayorQwert verify the data is not in the tag?

@Both, which build is causing this issue for you?

Re: Artifact with custom 'track summary' display format

da gamb2009 » ven gen 08, 2021 12:55 pm

I am experiencing the same thing with data in some custom fields I've added.
"Z0" or "Z1" is added to the data inserted in those fields at the end of the text, or they appear alone, when no data is added.

Artifact with custom 'track summary' display format [#17355][#17356]

da MayorQwert » ven gen 08, 2021 12:13 pm

So I'm trying to implement the following format:
$if(<Custom 6>,<Custom 6>: ,)$if(<Custom 1>,<Custom 1> ,<Album> )(<Year>) -$if(<Title>, <Title>, <Filename>)

The custom format I'm using has the following elements for context:
This is for video game soundtracks, Custom 6 is the platform (e.g. "Arcade", "SNES", "PC")
Custom 1 is the Album name, this is because I have a custom formatting for Arcade music that already has the year embedded in the album name, for use in an arcade frontend that plays music but doesn't have the option to customize its preview to add the year in. I entered the album in here without the year and if it is present I use this so that I don't end up having something like "Street Fighter II (1991) (1991)" and instead have just one instance of the year.

It should display content as in these examples:
"Arcade: Dragon Saber (1990) - Jungle (Hidden Stage 4)"
"PC: Red Alert 2 (2000) - Hell March 2"

However it displays as:
"ArcadeZ0: Dragon Saber (1990) - Jungle (Hidden Stage 4)"
"PCZ0: Red Alert 2 (2000) - Hell March 2"

Any idea why the Z0 might be getting added? It's across the board for all cases of where the leading text is added. It doesn't appear if it's omitted.

Top