View Issue Details

IDProjectCategoryView StatusLast Update
0004690MMW v4Properties/Auto-Toolspublic2008-05-23 01:39
Reporterrusty Assigned To 
PriorityimmediateSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0004690: <Track#> and <Disc#> masks don't display the exact Tag contents
DescriptionIf the user uses <Track#> or <Disc#> masks e.g. for auto-organize or converting/ripping, MM automatically uses <Track#:2> and <Disk#:2> instead of using the value contained within the tag.

Reported at: http://www.mediamonkey.com/forum/viewtopic.php?t=29359
TagsNo tags attached.
Fixed in build1176

Relationships

has duplicate 0006889 closedrusty 1177 <'Field':n> behaviour and docs fail to accord 

Activities

jiri

2008-05-15 17:31

administrator   ~0014011

Fixed in build 1174.

rusty

2008-05-16 20:38

administrator   ~0014025

Verified 1174.

jiri

2008-05-21 22:25

administrator   ~0014053

Some users have complained that <Track#:2> does show '123' as '23', instead of full '123'. This was an old workaround, that doesn't seem to have any sense now, users can achieve the same effect using other new functions (in case anyone would ever need it).

jiri

2008-05-21 22:25

administrator   ~0014054

Fixed in build 1176.

rusty

2008-05-22 03:40

administrator   ~0014057

I'm a little confused here. The online help for ':' in a mask is:
..used...to force a particular field to a specified length. For instance to create directories for each of the first letters in the alphabet, into which Artists are placed, the following could be used: C:\My Music\<Artist:1>\<Artist>\<Album> - <Track #> - <Title> which would yield C:\My Music\A\Abba\Gold - 2 - Fernando.mp3.
Note: For text fields, the resultant characters start from the left. For numeric fields, the resultant digits start from the right (e.g. for <Year:2>, a year of 2004 would result in 04). If n > the number of characters in the field, then the resultant path is padded with spaces or 0's depending on whether the field is text or numeric.

When I test build 1176, <Track#:2> changes Track# 255 --> 255 (i.e. no change)
but <Year:2> changes 1940 --> 40. Are you saying that we want this inconsistent behaviour?

jiri

2008-05-22 12:42

administrator   ~0014068

Let's review how it works in MM 2.5:
1. Any <Mask:2> shows string '1234' when the value is '1234'.
 1e. The only exception is <Track#:2> and <Year:2>, they show '34' in such a case. (Note that e.g. <Year:3> isn't an exception, it shows '1234')

So that the only change we made was, that <Track#:2> is no longer an exception, which makes a lot of sense to me.

Then there remains only one question for me: Should <Year:2> remain an exception (i.e. show '34' for '1234')? Since it's such a specific and useful case, I'd probably rather keep it.

rusty

2008-05-22 16:14

administrator   ~0014074

To summarize, the current implementation _is_ inconsistent in the sense that:
-:x truncates most fields
-:x doesn't truncate numeric fields
--except that it does truncate the year field for :2

No change required other than to update the online help accordingly.

rusty

2008-05-23 01:39

administrator   ~0014088

Verified 1177.