PDA

View Full Version : Swapping "First Name Last Name" to "Last Name First Name"



etoplak
02-08-2016, 04:28 AM
Is there any way with Batch Converter to swap in an Artist ID tag "First Name Last Name" to "Last Name First name", e.g., "Riccardo Chailly" to "Chailly Riccardo"? With more than 1500 albums it would be very hard to do this manually.

Spoon
02-08-2016, 06:25 AM
It cannot sorry.

mville
02-08-2016, 07:48 AM
Is there any way with Batch Converter to swap in an Artist ID tag "First Name Last Name" to "Last Name First name", e.g., "Riccardo Chailly" to "Chailly Riccardo"? With more than 1500 albums it would be very hard to do this manually.

This is tricky and cannot be totally automated so requires user intervention to check the results, but in MP3Tag you can use an action to create Artist Sort from the Artist tag.

In MP3Tag, the following Format Value action example caters for 3 scenarios:
Action: Format Value
Field: ARTISTSORT
Format String: $if($eql($strrchr(%artist%,$char(32)),0),%artist%, $if($eql($left(%artist%,4),'The '),$mid(%artist%,5,$sub($len(%artist%),4))', The',$mid(%artist%,$add($strrchr(%artist%,$char(32 )),1),$len(%artist%))$char(44)$char(32)$left(%arti st%,$sub($strrchr(%artist%,$char(32)),1))))

PLEASE NOTE, annoyingly the forum website has inserted a space above (see %arti st%, should be %artist%), which needs to be removed.

1. If the Artist tag contains no spaces then set the Artist Sort tag from the Artist tag e.g. Artist Sort = Queen or Coldplay etc.
2. If the Artist tag begins with 'The ' then set the Artist Sort tag accordingly e.g. If Artist = The Beatles then set Artist Sort = Beatles, The
3. If the Artist tag contains a space then set the Artist Sort tag accordingly e.g. If Artist = Riccardo Chailly then set Artist Sort = Chailly, Riccardo OR if Artist = John Lee Hooker then set Artist Sort = Hooker, John Lee

The only problem here and why this requires careful user intervention is that it does not cater for all Artist scenarios e.g. If the Artist tag = Buffalo Springfield then if you are not careful it will set the Artist Sort tag to Springfield, Buffalo OR if Artist = Orchestral Manoeuvres In The Dark then Artist Sort is Dark, Orchestral Manoeuvres In The so this action must not be performed on these Artists.

Hope this helps.

etoplak
02-08-2016, 08:37 AM
This is tricky and cannot be totally automated so requires user intervention to check the results, but in MP3Tag you can use an action to create Artist Sort from the Artist tag.

In MP3Tag, the following Format Value action example caters for 3 scenarios:
Action: Format Value
Field: ARTISTSORT
Format String: $if($eql($strrchr(%artist%,$char(32)),0),%artist%, $if($eql($left(%artist%,4),'The '),$mid(%artist%,5,$sub($len(%artist%),4))', The',$mid(%artist%,$add($strrchr(%artist%,$char(32 )),1),$len(%artist%))$char(44)$char(32)$left(%arti st%,$sub($strrchr(%artist%,$char(32)),1))))

PLEASE NOTE, annoyingly the forum website has inserted a space above (see %arti st%, should be %artist%), which needs to be removed.

1. If the Artist tag contains no spaces then set the Artist Sort tag from the Artist tag e.g. Artist Sort = Queen or Coldplay etc.
2. If the Artist tag begins with 'The ' then set the Artist Sort tag accordingly e.g. If Artist = The Beatles then set Artist Sort = Beatles, The
3. If the Artist tag contains a space then set the Artist Sort tag accordingly e.g. If Artist = Riccardo Chailly then set Artist Sort = Chailly, Riccardo OR if Artist = John Lee Hooker then set Artist Sort = Hooker, John Lee

The only problem here and why this requires careful user intervention is that it does not cater for all Artist scenarios e.g. If the Artist tag = Buffalo Springfield then if you are not careful it will set the Artist Sort tag to Springfield, Buffalo OR if Artist = Orchestral Manoeuvres In The Dark then Artist Sort is Dark, Orchestral Manoeuvres In The so this action must not be performed on these Artists.

Hope this helps.

Many thanks for your help, unfortunately all my files are in a wave format, and MP3Tag do not support wav files..

mville
02-08-2016, 08:42 AM
Many thanks for your help, unfortunately all my files are in a wave format, and MP3Tag do not support wav files..

Perhaps you should consider converting to flac, which has the same audio quality, better tag support and smaller audio file sizes.

schmidj
02-08-2016, 09:57 PM
If for some reason, you really want to keep wave files, you can convert to FLAC with the batch converter, run MP3tag to fix whatever you want and then convert back to wave with the batch converter. You may have to use the ID tag update codec on the wave files before or after conversion to add the proper tag entries to your wave files. As Mville has said above, you should consider using FLAC files if possible instead of wave. My only reason for using wave files on my own recordings (as opposed to rips)is that my audio editor (Sony) although it will open or save FLAC files, it converts them to Wave internally, and promptly loses most of the tags, even when resaved as FLAC. Annoying, has been brought to their attention, but remains uncorrected.