INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Rename/Move/Copy is truncating filenames when based on a calculated field  (Read 1027 times)

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649

Rename/Move/Copy is truncating filenames when based on a calculated field. Here's the expression in the field:

Quote
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.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627

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:
Logged
John Thompson, JRiver Media Center

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649

It works if you use the expression directly in the 'Rule' box, but if you use the expression in a calculated field it truncates.

JohnT

  • Citizen of the Universe
  • *****
  • Posts: 4627

Try the next build.
Logged
John Thompson, JRiver Media Center

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Rename/Move/Copy is truncating filenames when based on a calculated field
« Reply #4 on: February 05, 2012, 04:53:58 am »

This problem is fixed with build 0.82. Thanks JohnT
Pages: [1]   Go Up