INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Update Tags with Expression?  (Read 1311 times)

Groundhog

  • Recent member
  • *
  • Posts: 26
Update Tags with Expression?
« on: September 26, 2014, 03:09:30 pm »

Is there a direct way to update tags using an expression? I couldn't find a way to do this directly and was wondering if, being new to MC, I had missed something.

I used DVD Audio Extractor to rip high res audio tracks from a DVD-Audio disc. That program populated the name tags and file names with a leading track number. So, the track 1 name tag is "01 Prologue." I don't like having track numbers in the name tag, so after importing into MC20, I wanted to remove the leading 3 characters from the name tag for each file.

I was able to find a workaround: I added a calculated library field with the expression removeleft([Name],3). Then used the Move/Copy Fields command to copy the calculated value to the Name field.

Is there a way to do this directly? If not, would this be a useful feature?

Thanks,
-Brent
Logged

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1361
Re: Update Tags with Expression?
« Reply #1 on: September 26, 2014, 03:13:36 pm »

put = in front of the expression and put it in the tag field.

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

Groundhog

  • Recent member
  • *
  • Posts: 26
Re: Update Tags with Expression?
« Reply #2 on: September 27, 2014, 09:33:26 am »

put = in front of the expression and put it in the tag field.

Ken

Hmmm. It seems the obvious didn't occur to me.

That worked - and was much faster than my workaround.

Thanks, Ken.
Logged

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1361
Re: Update Tags with Expression?
« Reply #3 on: September 27, 2014, 10:21:59 am »

Thanks for letting us know. Glad it Worked. ;)

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Update Tags with Expression?
« Reply #4 on: September 27, 2014, 12:02:00 pm »

If you need to do this regularly, you can set up a Tag on Import rule, so long as you rip to a specific directory.

See also:
http://yabb.jriver.com/interact/index.php?topic=92092.msg633953#msg633953
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up