View Issue Details

IDProjectCategoryView StatusLast Update
0017355MMW 5Tagging / organizing (properties / auto-tools)public2022-09-05 14:43
Reporterlowlander Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version5.0 
Target Version5.0.2 
Summary0017355: Closing Parenthesis breaks Auto-Organize (Files)
DescriptionSample:
$if(<Custom 2>,(<Custom 2>) ,)a
will write ) a when Custom 2 is blank
Additional Informationhttps://www.mediamonkey.com/forum/viewtopic.php?f=30&t=98097
TagsNo tags attached.
Fixed in build

Relationships

related to 0017356 closedLudek Custom 6-10 add Z0 when used in Track Summary 
related to 0017394 closedjiri Closing Parenthesis not applied correctly with Track Summary Mask 
related to 0019347 closedLudek Masks: Add ability to get the POS and LAST position of String within String 

Activities

Ludek

2021-01-11 11:41

developer   ~0061278

Last edited: 2021-01-11 12:00

It seems that the nested parenthesis causes the issue, workaround is to use
$if(<Custom 2>,[<Custom 2>] ,)a

This has been always issue also in MM2, MM3, MM4 -- so setting target to 5.0.1 to eliminate risk of a regression right before 5.0 release

jiri

2021-05-25 12:47

administrator   ~0063460

Any character interfering with our mask characters should be preceded by '$'. I.e. working version of the mask is:

$if(<Custom 2>,(<Custom 2>$) ,)a

peke

2021-11-05 01:21

developer   ~0065744

Closing.

Added Bold parts in https://www.mediamonkey.com/wiki/WebHelp:Configuring_Directory_and_File_Formats/5.0#Mask_Reference to make things more clear.