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 350 times)

Manfred

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

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, 2x2 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: 8009

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

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 956

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
Win NUC - VENOEN 11Th NUC Mini PC Core i7 1165G7,Dual HDMI 2.0+Mini DP,Windows 11 Mini Desktop Computer,Thunderbolt 4.0,1 Lan, USB-C,Wifi,Bluetooth 5.0,32GB RAM Toshiba MQ04ABF100 ‎500Gb 5400 RPM ‎eSATA HD, Gigabyte GP-GSM2NE3512GNTD 1Tb NVMe SSD, Samsung 870 QVO 8 TB SATA 2.5 Inch SSD (MZ-77Q8T0) in Sabrent Ultra Slim USB 3.0 to 2.5-Inch SATA External Aluminium Hard Drive Enclosure (EC-UK30)

Apple 2020 Mac mini M1 Chip (8GB RAM, 512GB SSD)
Sabrent Thunderbolt 3 to Dual NVMe M.2 SSD Tool-Free Enclosure with Sabrent 2TB Rocket NVMe PCIe M.2 2280 High Performance SSD + Crucial P3 Plus 4TB M.2 PCIe

ET Skins & TrackInfo Plugins - https://englishtiger.uk/index.html

Manfred

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

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, 2x2 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