title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 6 of 6

Thread: Swapping "First Name Last Name" to "Last Name First Name"

  1. #1

    Join Date
    Feb 2016
    Location
    France
    Posts
    2

    Swapping "First Name Last Name" to "Last Name First Name"

    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.

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    38,469

    Re: Swapping "First Name Last Name" to "Last Name First Name"

    It cannot sorry.

  3. #3
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    3,522

    Re: Swapping "First Name Last Name" to "Last Name First Name"

    Quote Originally Posted by etoplak View Post
    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.
    Last edited by mville; 02-08-2016 at 06:56 AM. Reason: forum website is adding spaces in my example

  4. #4

    Join Date
    Feb 2016
    Location
    France
    Posts
    2

    Re: Swapping "First Name Last Name" to "Last Name First Name"

    Quote Originally Posted by mville View Post
    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..

  5. #5
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    3,522

    Re: Swapping "First Name Last Name" to "Last Name First Name"

    Quote Originally Posted by etoplak View Post
    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.

  6. #6
    dBpoweramp Guru
    Join Date
    Nov 2013
    Location
    New York
    Posts
    320

    Re: Swapping "First Name Last Name" to "Last Name First Name"

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •