Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Is there a way to Add a tag field using another field, without deletin (Read 4089 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Is there a way to Add a tag field using another field, without deletin

For example: I currently have a style field with

Contemporary Classical; Ambient

and I want to add the values from the genre field

Classical



Is there a way to add in "Classical" from GENRE to the current values in STYLE without removing them?

Is there a way to Add a tag field using another field, without deletin

Reply #1
with Masstagger
1- Format value from other field
destination field : %styleTEMP%
source : %style%;%genre%

when done
2 - Guess value from other field
source format: %styleTEMP%
guessing pattern : %style%

last one
3 - Remove field...
%styleTEMP%

EDIT: tpijag's solution is right and more simple

so...
with Masstagger
1- Format value from other field
destination field : %style%
source : %style%;%genre%


Is there a way to Add a tag field using another field, without deletin

Reply #2
From the properties dialog you should be able to use Format from other fields.

Properties > Metadata tab > Select Style field
Right Click > Format from other fields > use %Style%; %genre% in the format box.

please test first - you can always cancel out of the dialog.

terry


Is there a way to Add a tag field using another field, without deletin

Reply #3
In addition to both kabuki's and Terry's answer I would put %genre% and the separating semicolon in square brackets

Code: [Select]
%style%[;%genre%]

for files with empty genre fields (especially if you should use the masstagger).
This is HA. Not the Jerry Springer Show.

Is there a way to Add a tag field using another field, without deletin

Reply #4
Excellent. Thanks a lot guys.

One more question for you masstagger wizards:

Is there a way to replicate a "Remove All EXCEPT" function for values instead of just fields?

Is there a way to Add a tag field using another field, without deletin

Reply #5
i don't really know, and i suppose that answer is NO, but try to play with something like:

$if($stricmp(%genre%,classical),$replace(%genre%,),)

but in fact, i don't really understand the thing you want to do now. be more explicit.

Is there a way to Add a tag field using another field, without deletin

Reply #6
Ok, basically I have the %style% Field for an artist (or artists) that has multiple values (for example):

Death metal; Technical Death Metal; Melodic; Symphonic; European; Technical Brutal Death Metal


But I would like a script to get rid of every value EXCEPT Technical Death Metal and Melodic, so the field result is

Technical Death Metal; Melodic

Is there a way to Add a tag field using another field, without deletin

Reply #7
At some point, just typing can really be quicker than building an involved script.

Select all the files.....back to the properties dialog.
Select appropriate multivalue field.
Format from other fields.
Erase anything in Format box.
Insert whatever you want.
Done.

terry

Is there a way to Add a tag field using another field, without deletin

Reply #8
Problem is I'm doing this with LARGE groups of files.

For exmample.... I have a huge crop of electronic artists with many erroneous Style tags grabbed from last.fm... There are only a few REAL style tags that I want to keep, and everything else is junk as far as I'm concerned.

Going through artist by artist and using your method is actually quite time consuming.

Is there a way to Add a tag field using another field, without deletin

Reply #9
You stated you wanted to get rid of all tag values except two.
Size all library is of no consequence. Just select all files.

Now if you are saying that the values you want to save differ artist to artist...well that is a screwed up tag issue and
not one that will be easily solved without manual intervention nor with automation.

terry

Is there a way to Add a tag field using another field, without deletin

Reply #10
You stated you wanted to get rid of all tag values except two.
Size all library is of no consequence. Just select all files.

Now if you are saying that the values you want to save differ artist to artist...well that is a screwed up tag issue and
not one that will be easily solved without manual intervention nor with automation.

terry


You're misunderstanding me though... Some of these files Might have the values that I want, and some might not. I don't want every Electronic artist to have the same styles.

For instance, ideally we have three different artists with the following styles (generated from a last.fm python script)

Artist 1: Trance; Goa Trance; Electronic; Electronica

Artist 2: House; Electronic

Artist 3: Breakcore; Grind; Grindcore; Electronicaz; Happytime music



Now, I don't want any of these artists to have Style tags that aren't the following: Trance, House, or Breakcore. Going in and saying "Remove values" is useless, because there are many more artists with unneeded values that I don't know of. At the same time, I obviously don't want each of these artists tagged as "Trance; House; Breakcore" because each of them are different (one of each in this case). So, ideally, I would need a way to removed all fields BUT the ones that I want to keep for a set group of artists.

You get me?

Is there a way to Add a tag field using another field, without deletin

Reply #11
So, approaching the problem with string-operations should work; write several combinations of tags on a paper and try to think of an algorithm (which uses the given title formatting operations, including finding a position of a string in another) which deletes stuff between the excluded tags. Perhaps (haven't thought about it) you'll have to treat each of the 6 (=3! [3 factorial]) permutations separately.


Is there a way to Add a tag field using another field, without deletin

Reply #13
For example removing everything but "hello" from the list "the word; hello; is nice" corresponds to finding the start and end of the word "hello" and removing the remainder (characters 1-10 and 16-24). Finding out the exact indices when multiple strings are to be found, seems a bit more difficult and may depend on the order in which they appear in the list.

Is there a way to Add a tag field using another field, without deletin

Reply #14
Hm, yeah, seems a bit too difficult for what I'm trying to do. Ah well, it seems the best thing to do is just go through the list and remove erroneous fields as I see them. Thanks for the help regardless.

Is there a way to Add a tag field using another field, without deletin

Reply #15
I don't know why do you prefer last.fm over discogs, but you can try foo_uie_tagger_mod for solving you problem quickly: bind it to style tag, select all your files and untick unwanted values then click apply (style tag needs to be splitted before)

Is there a way to Add a tag field using another field, without deletin

Reply #16
Quite a creative use of foo_uie_tagger.

thanks

terry

Is there a way to Add a tag field using another field, without deletin

Reply #17
I don't know why do you prefer last.fm over discogs, but you can try foo_uie_tagger_mod for solving you problem quickly: bind it to style tag, select all your files and untick unwanted values then click apply (style tag needs to be splitted before)


Well, discogs is great for classical and electronic music (good Lord, they have more styles than I can think of). But for metal, they're woefully unspecific. I have a large metal collection that I break down into Death Metal, Black Metal, Doom Metal, Thrash Metal, etc. Then I have even more specific styles under that. Discogs treats the entire genres of Metal and Death Metal (etc.) as styles, so that's not specific enough for my purposes, thus... using last.fm. The problem with last.fm is that it gives you maybe 2-3 useful/actual styles, and then a bunch of stuff that's obscure or pointless.

Either way, I will try that tagger mad, thanks!