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

Thread: Rewrite tag values using manipulation rules - possible?

  1. #1

    Join Date
    Jun 2013
    Posts
    38

    Rewrite tag values using manipulation rules - possible?

    Hi,

    I'm trying to re-write a bunch of tags on about 10,000 files on an SD card as I'm trying to shorten the album title to something a bit more car-friendly.

    The album titles are formatted as 'Now That's What I Call Music! xx' where 'xx' is the zero-padded album number, 01 -> 99

    Basically I want to do this (in pseudo-code):
    IF LEFT(Album,29)='Now That's What I Call Music!'
    SET Album = LEFT(Album,4) + RIGHT(ALBUM,2)

    Whatever I've tried seems to always end up with all tags removed from the source files

    Is what I want to do possible?

    Cheers

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

    Re: Rewrite tag values using manipulation rules - possible?

    Try this:
    ID Tag Update R5 > Manipulate tab > Rule Based Manipulation, add the following:
    IF Album=[anyvalue]
    SET Album=[GRAB]1,4,[album][][RIGHT]2,[album][]

  3. #3

    Join Date
    Jun 2013
    Posts
    38

    Re: Rewrite tag values using manipulation rules - possible?

    Cheers! That worked a treat - annoyingly what you've written there is *very* close to what I had but I guess I must have mucked up the brackets

  4. #4

    Join Date
    Jun 2013
    Posts
    38

    Re: Rewrite tag values using manipulation rules - possible?

    So, although the above worked a treat, what II'd *really* like to do is to only apply that rule if the [Album] contains a certain value.

    So, if [Album] contains 'Now That's What I Call Music!' then apply the rule and rewrite the [Album] tag but leave the tag alone if it contains any other value.

    I've tried
    IF [GRAB]1,29[album][]='Now That's What I Call Music!'
    SET Album=[GRAB]1,4'[album][][RIGHT]2,[album][]

    But it does nothing at all. Also tried with double quotes, no quotes, but nothing seems to make any difference.

    Am I barking up completely the wrong tree?

  5. #5
    Administrator
    Join Date
    Apr 2002
    Posts
    40,372

    Re: Rewrite tag values using manipulation rules - possible?

    The easiest way would to have:

    IF Album=[anyvalue]
    SET Album=[GRAB]1,4,[album][][RIGHT]2,[album][]

    and use Batch Converter, select all files, then list, sort on album, uncheck all, then select the first of Now.. and hold shift to select the last one in the list and put a check mark. Then convert.

  6. #6

    Join Date
    Jun 2013
    Posts
    38

    Re: Rewrite tag values using manipulation rules - possible?

    Well that's kind of what I have been doing to get around te issue, the only thing is I'm trying to do two operations:
    1) resize the artwork to a car-friendly size
    2) Shorten some album titles for car-friendly display proposes

    What I was trying to avoid was having to do two passes (one for artwork, one for tag contents) 'cos it take agesssss

    I guess for the responses that it's not possible to include an expression evaluation on the IF?

  7. #7
    Administrator
    Join Date
    Apr 2002
    Posts
    40,372

    Re: Rewrite tag values using manipulation rules - possible?

    I do not think you can.

  8. #8

    Join Date
    Jun 2013
    Posts
    38

    Re: Rewrite tag values using manipulation rules - possible?

    OK, thanks. I'll stop trying in that case Thanks as always for the quick replies

  9. #9
    dBpoweramp Guru
    Join Date
    Feb 2014
    Posts
    1,297

    Re: Rewrite tag values using manipulation rules - possible?

    What about storing all tracks of all 'Now That's What I Call Music!' albums in one folder and to rename all tracks to "x-y trackname", where is x is the number of the album and y the tracknumber within the album?


    Dat Ei

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

    Re: Rewrite tag values using manipulation rules - possible?

    Quote Originally Posted by Biggsy View Post
    OK, thanks. I'll stop trying in that case Thanks as always for the quick replies
    You can achieve what you want in MP3Tag, a splendid piece of software.

  11. #11

    Join Date
    Jun 2013
    Posts
    38

    Re: Rewrite tag values using manipulation rules - possible?

    I do use MP3Tag, and agree it is very useful. Didn't know it could script so maybe i should take another look

Posting Permissions

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