View Issue Details

IDProjectCategoryView StatusLast Update
0008184MMW v4Properties/Auto-Toolspublic2011-08-10 16:59
ReporternynaevelanAssigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSWindows x64OS Version7 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0008184: Auto Organize Drops Leading Zero (regression)
DescriptionAs reported here, when auto organizing it drops the leading zero of the season and episode field for tv files:http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=59526
Steps To ReproduceAdd a zero in the season and/or episode field
run the autoorganize and you will notice the leading zero is not a part of the mask
TagsNo tags attached.
Fixed in build1415

Relationships

child of 0006680 closedLudek Introduce new masks for new fields 

Activities

lowlander

2011-07-24 20:11

developer   ~0026971

<Season#:2> and <Episode#:2> need to be used to get leading zero.

rusty

2011-07-25 04:51

administrator   ~0026975

Resolving pending user clarification.

Mizery_Made

2011-07-25 05:27

updater   ~0026976

Last edited: 2011-07-25 05:33

Actually, I can confirm this issue. It previously worked as expected in build 1408, and I believe it's a regression introduced by another fix in 1409 (http://www.ventismedia.com/mantis/view.php?id=6680#c26870 being the fix in question).

When using the "<Track#>" mask, if you have "05" in the field then it will retain the leading zero and output the field "as-is." That's how it works in 3.2 as well. However, when using "<Season#>" with "05" in the field, it's only outputting "5", which is incorrect based on how "<Track#>" functions. I believe you may be misinterpreting the reported problem as the user having "5" in the field, and expecting "<Season#>" to output "05" in which case you would be correct in that "<Season#:2>" will _add_ the leading zero. Though, "<Season#>" should not be _removing_ an already present leading zero.

The previously reported problem that was fixed was that "<Season#>" was _forcing_ a leading zero, apparently incorrectly outputing "5" as "05" (functioning as if it were "<Season#:2>" which indeed would be incorrect) however in fixing it, it now drops the leading zero from the field if it's already present which is incorrect.

Mind you, I've used "<Season#>" in my testing, but "<Episode#>" is likely suffering similarly seeing as it too was reported by the user.

Ludek

2011-07-29 11:03

developer   ~0027011

Fixed in build 1415.

lowlander

2011-08-10 16:59

developer   ~0027151

Verified in 1415