INTERACT FORUM

Please login or register.

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

Author Topic: How to Delete a Single Tag Value (Genre etc)?  (Read 1637 times)

Rafal Lukawiecki

  • World Citizen
  • ***
  • Posts: 173
How to Delete a Single Tag Value (Genre etc)?
« on: October 05, 2014, 12:24:00 pm »

I've been reading up on the expression language, and I cannot quite figure out through the UI either. Having searched here and on computeraudiophile.com I am still unable to solve this very simple thing—I am sure it is awfully easy, many thanks for help.

I'd like to remove a single value of a genre tag (or any other tag that allows for multiple values separated with a semicolon) on a selection of tracks which share this value but otherwise have different other genres. When I multi-select the tracks the Tag Pane shows [Varies] and I cannot figure out how to create an expression to remove a single value, say "Rock" from all those tracks. Is there, perhaps, a menu option to do that?

Thanks from a very new user.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41941
  • Shoes gone again!
Re: How to Delete a Single Tag Value (Genre etc)?
« Reply #1 on: October 05, 2014, 12:53:06 pm »

Genre isn't a list-style field, so you'll need to select files that have a consistent genre and remove the one checked genre from that.

If you search for [Genre]=[Rock] it might help.
Logged
Matt Ashland, JRiver Media Center

Rafal Lukawiecki

  • World Citizen
  • ***
  • Posts: 173
Re: How to Delete a Single Tag Value (Genre etc)?
« Reply #2 on: October 05, 2014, 01:06:14 pm »

Thanks, Matt. If genre is not a list, would it be just a string? If so, I suppose I could build a regex expression, unless there's another way.
Logged

Rafal Lukawiecki

  • World Citizen
  • ***
  • Posts: 173
Re: How to Delete a Single Tag Value (Genre etc)?
« Reply #3 on: October 13, 2014, 12:12:28 pm »

I ended up using expression

Code: [Select]
=replace([Genre], oldtag, newtag)
to replace the incorrect genre tags. To delete an unwanted tag across multiple entries (with "Varies" showing) I ended up using expression

Code: [Select]
=replace([Genre], tagtoremove, )
and I didn't even need regex in this case.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: How to Delete a Single Tag Value (Genre etc)?
« Reply #4 on: October 13, 2014, 12:53:44 pm »

I ended up using expression

You can do this.  There is a tool in the GUI for this as well, though.  Select the files, right-click and choose Library Tools > Find and Replace.
Logged
"Some cultures are defined by their relationship to cheese."

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