INTERACT FORUM
More => Old Versions => Media Center 17 => Topic started by: EpF on January 24, 2012, 02:48:52 pm
-
Rename/Move/Copy is truncating filenames when based on a calculated field. Here's the expression in the field:
if(isequal([media type],Audio),
if(isequal([sub-type],Audiobook),
if(isempty([series title]),
AUDIOBOOK/\[Artist]/\[Album],
AUDIOBOOK/\[Artist]/\[Series Title]/\[Book #] - [Album]),
if(isempty([sub-type]),
if(isequal([source],Archive,8),
MUSIC/\ARCHIVE/\[AssortedOrArtist]/\[Album],
MUSIC/\ACQUIRED/\[AssortedOrArtist]/\[Album]),
MISC/\[sub-type]/\[Artist]/\[Album])
),
if(isequal([media type],Video),
if(isequal([sub-type],Film),
if(isempty([series title]),
Film/\[name],
Film/\[series title]/\[episode #] - [name]),
if(isequal([sub-type],TV Show),
TV Show/\[tv show]/\[series #],
MISC/\[sub-type]/\[artist]/\[album])
),
)
)
It should create a folder structure like this: AUDIOBOOK\George R. R. Martin\A Song of Ice and Fire\4 - A Feast For Crows\
It works when using the field in the list pane, but when using it in Rename/Copy/Move, it produces: AUDIOBOOK\George R. R. Martin\A Song of Ice and Fire\4 - A F\
I've experimented with different files and fields and the truncation happens at the same character count.
-
I loaded your library and tried a move/rename with the same expression from the list view and here is what I see in the dialog:
-
It works if you use the expression directly in the 'Rule' box, but if you use the expression in a calculated field it truncates.
(http://www.squarestarmedia.com/img/_tmp/Capture.PNG)
-
Try the next build.
-
This problem is fixed with build 0.82. Thanks JohnT