INTERACT FORUM

Please login or register.

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

Author Topic: How to rename of meta data name - not filename  (Read 46 times)

David Sydney

  • Galactic Citizen
  • ****
  • Posts: 380
How to rename of meta data name - not filename
« on: Yesterday at 06:32:48 pm »

Hi all,
Long time user, and I use F6 to move rename files whenever I import items to standardise where and how they are storefd on the server. Howver I am a novice on expression or anything involving fields etc.

I have a bunch of music videos of songs (say ~ 30) that I am trying to rename - not the file, but the meta data name that appears within MC. Some of them are "Song Name - Artist - Show" some of them are "Show - Artist - Song Name"  is there a smarter way to eg. delete fist 7 characters of the name, or take the left portion and move it to the end etc. F6 move/copy does not seem to be designed for this...?

Thanks
Logged
Dave
------
Linux Manjaro 24 / Windows 10 Pro | i7 14700K Gigabyte Z790 UD AX | JRMark 10253 | Realtek Integrated HDAudio SPDIF | PC Sound = 1/ Yamaha TSS-15 5.1 Speaker System, 2/ SMSL SU-1 DAC + TA-66 Tube Headphone Amp + Klipsch ProMedia Heritage 2.1 Speakers | HiFi Sound = 1/ Network DLNA to WiiM Ultra Streamer + Advaned Paris A10 Amp in Music Room, 2/ DLNA to Yamaha RX-V777 AV Receiver in Living Room & Outside Deck, 3/ DLNA to Paired Yamaha WiFi WX-010 MusicCast Speakers to Outside Areas

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2057
Re: How to rename of meta data name - not filename
« Reply #1 on: Today at 02:12:00 am »

To mass change field value your source data value needs to have same naming pattern in order to be able to parse it correctly.

In your case if your filenames have pattern like "Song Name - Artist - Show" you can use F12 i.e. get properties from filename tool.
There you can then give simple parsing orders to separate fields e.g.

[Name] - [Artist] - [Album]

This example will put Show stuff to album field you can of course use any fields you like


If filenames doesn't have this then you need parse fields from field which have the data e.g Name field to get artist from above like pattern select songs with this pattern so that you are editing artist press F2 and in artist field type
Code: [Select]
=ListItem([Name],1,/ -/ ) try with few files first and do undo if you messed up.
Above expression will use " - " as list delimiter and output item from index 1 of the list which is artist in that pattern so to print first index (0) you would type =ListItem([Name],0,/ -/ )
Logged
Pages: [1]   Go Up