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

Thread: Rewrite tag values using manipulation rules - possible?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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,711

    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,166

    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?

Posting Permissions

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