View Issue Details

IDProjectCategoryView StatusLast Update
0008177MMW v4Properties/Auto-Toolspublic2011-08-08 22:56
Reporterrusty Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version4.0 
Target Version4.1 
Summary0008177: Files to Edit > Unorganized files fails when portion of mask is missing
DescriptionIf the user configures an Auto-organize mask (via Library > Auto-organize) e.g.
F:/Docs/Music/$IF(<Album Artist>,<Album Artist>)\<Album>\$IF(<Track#>,<Track#:3>.) $First(<Artist>) - <Title>

And then scans the directory, it will work correctly, and if the user examines the Unorganized Files node, none of the tracks that were thus organized will appear.

BUT, if the user switches masks, then the previously used mask will persist as:
 ./$IF(<Album Artist>,<Album Artist>)\<Album>\$IF(<Track#>,<Track#:3>.) $First(<Artist>) - <Title>

If the user then switches back to that mask (i.e. to ./$IF(<Album Artist>,<Album Artist>)\<Album>\$IF(<Track#>,<Track#:3>.) $First(<Artist>) - <Title>), then files organized by that mask will _always_ appear in the Unorganized Files node.

Possible fixes are:
i) to fix Unorganized files so that it supports relative paths
ii) change the manner in which the masks persist within that particular dialog
This is probably the easiest/preferred approach.
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=6&t=59222
TagsNo tags attached.
Fixed in build

Activities

petr

2011-07-28 18:50

developer   ~0026997

Last edited: 2011-07-28 19:07

It's correct because '.\' is current folder of the track. For example:
Try to organize track from folder D:\Music\ using this mask.
Result is:
D:\Music\Queen\Innuendo\001. Q - Innuendo
But when you organize this track again, then it will be
D:\Music\Queen\Innuendo\Queen\Innuendo\001. Q - Innuendo
because root folder for the mask is the folder of the track and should be in sub sub folder (so based on this mask, track isn't organized).

I think we should add some message in Auto-Organize edit when user add relative path with subfolders. Because of localization process we should postpone to 4.1 (also this 'issue' is related to MM3 as well).

rusty

2011-08-08 22:56

administrator   ~0027105

In 1415, I can no longer reproduce the bug in which the mask was incorrectly saved to the MRU mask list without the full path. i.e. that it should save the following in the MRU list:
F:/Docs/Music/$IF(<Album Artist>,<Album Artist>)\<Album>\$IF(<Track#>,<Track#:3>.) $First(<Artist>) - <Title>

...but instead, it's saved as ./$IF(<Album Artist>,<Album Artist>)\<Album>\$IF(<Track#>,<Track#:3>.) $First(<Artist>) - <Title> .

The remaining problem is only an issue for Options > Auto-organize (and not for Tools auto-organize). It can be fixed by preventing the user from clicking OK whenever .\ + directory + file mask is chosen (.\ + file mask is ok), and present a warning 'Choose a directory'!