INTERACT FORUM

Please login or register.

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

Author Topic: Use of Fixed length for [Name] in Rename, Move, Copy Files tool-Opera [Solved]  (Read 456 times)

Manfred

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

Even though MC supports file names over 260 characters, it generates problems with MC Rename, Move, Copy Files  tool and backup tools etc. I want to have all file names within the limit.

For me there would be two kind of solutions:

1. Wagner, Das Rheingold (Solti - 1958, CD - 1997) - Track 01.flac
    Wagner, Das Rheingold (Solti - 1958, CD - 1997) - Track 02.flac
I would not like this, even it is easy, but if something goes wrong with the numbers you have no chance to find the errors.

2. I would like to have the [Name] Field truncated to a fixed length e.g 50 characters
e.g.:
Use of separate directory for the file this leads to: 
Wagner, Das Rheingold (Solti - 1958, CD - 1997)\19 - Das Rheingold, 3. Szene ''Vergeh, frevelnder Gauch!...Was sagt der_...Sei doch bei Sinnen!'' (Wotan, Alberich, Loge).flac

->truncate the file leads to:

2.Wagner, Das Rheingold (Solti - 1958, CD - 1997)\19 - Das Rheingold, 3. Szene ''Vergeh, frevelnder.flac

Is that possible with the existing Rename, Move, Copy Files  tool and how?
Or is this a new feature request?
Logged
WS (AMD Ryzen 7 5700G, 32 GB DDR4-3200, 8=2x2+4 TB SDD, LG 34UC98-W)-USB|ADI-2 DAC FS|Canton AM5 - File Server (i3-3.9 GHz, 16GB ECC DDR4-2400, 46 TB disk space) - Media Renderer (i3-3.8 GHz, 8GB DDR4-2133, GTX 960)-USB|Devialet D220 Pro|Audeze LCD 2|B&W 804S|LG 4K OLED )

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014

You should be able to use the Left() function in an expression for the filename.

https://wiki.jriver.com/index.php/String_Manipulation_Functions#Left

Something like:
Code: [Select]
(Left([Name],250)
Hopefully that gets you started in the right direction.  :)

Brian.
Logged

EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1084

Alternatively if you were to use the Additional Fields/Tags the "English Tiger - Ultimate 1 TrackInfo plugins" use you can remove a reasonable amount of the "unessential" information you currently have in the Track Name

https://yabb.jriver.com/interact/index.php/topic,129621.0.html
Logged
Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

Manfred

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

Thank you very much, that helps!
I use now:
Base Path:D:\Audio\Classical\
Filename: [Album]\[Track #] - Left(listitem([Name], 0, (),150)

I eliminate first the role bracket e.g. (Wotan, Alberich, Loge) and cut it down to max of 150 char. leaving 100 characters for the base path.
Logged
WS (AMD Ryzen 7 5700G, 32 GB DDR4-3200, 8=2x2+4 TB SDD, LG 34UC98-W)-USB|ADI-2 DAC FS|Canton AM5 - File Server (i3-3.9 GHz, 16GB ECC DDR4-2400, 46 TB disk space) - Media Renderer (i3-3.8 GHz, 8GB DDR4-2133, GTX 960)-USB|Devialet D220 Pro|Audeze LCD 2|B&W 804S|LG 4K OLED )
Pages: [1]   Go Up