title
Products            Buy            Support Forum            Professional            About            Codec Central
 

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • etoplak

    • Feb 2016
    • 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.
  • Spoon
    Administrator
    • Apr 2002
    • 44509

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

    It cannot sorry.
    Spoon
    www.dbpoweramp.com

    Comment

    • mville
      dBpoweramp Guru

      • Dec 2008
      • 4021

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

      Originally posted by etoplak
      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; February 08, 2016, 12:56 PM. Reason: forum website is adding spaces in my example

      Comment

      • etoplak

        • Feb 2016
        • 2

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

        Originally posted by mville
        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..

        Comment

        • mville
          dBpoweramp Guru

          • Dec 2008
          • 4021

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

          Originally posted by etoplak
          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.

          Comment

          • schmidj
            dBpoweramp Guru

            • Nov 2013
            • 521

            #6
            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.

            Comment

            Working...

            ]]>