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: edit multiple tags (Read 3518 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

edit multiple tags

I'm very new to FB2k, so please forgive if the answer to this is RTFM.
I have installed 0.9.5.5 on my Dell Vostro laptop and on my ageing home-made desktop, both running XPpro.  I can manage multiple file renames with fancy conditional stuff etc. with right-click group > File Operations > Rename to... , but am baffled when trying to do the same sort of thing to tags.

Assume I've loaded a group of tagged files into the Default window, and selected all.

On my laptop, if I right-click, under 'tagging' I get the options:
Get Tags From freedb
Manage Scripts
Copy Info Between Files

On my desktop, with exactly the same files, right-clicking only offers Get Tags From freedb; the other 2 options are missing.

As far as I can tell my installation from foobar2000_.9.5.5.exe was identical, with everything that comes with that installer except Replay Gain (which I don't require)

Once I've sorted out why the two installations have different tagging options, I'd like to know if there's any way I can perform exactly the same sort of re-naming of multiple tags (say, on a list of Titles) as I can on multiple filenames (i.e.right-click group > File Operations > Rename to...)
Manage Scripts looks a bit daunting and so far I haven't sussed how to write a script to do the sort of simple renaming described above.

edit multiple tags

Reply #1
"Manage scripts" and "copy info between files" were functions of the no longer developed masstagger, most of which have been moved to the Properties dialog (right-click, Properties). Select one or multiple fields and right-click to see available options, and check out the tools button.

"Format from other fields" and "automatically fill values" should cover most of your needs.

Also note that you can double-click on a field name to quickly enter values for multiple tracks.

edit multiple tags

Reply #2
Tag operations are accessible through the Properties dialog (right-click > Properties). There's a "Tools" button on this dialog that has more advanced features.

If you want to reset the context menu on both of your computers, go to Preferences, "Display" branch > "Context Menu" and press "Reset Page".

edit multiple tags

Reply #3
Thanks for your replies, guys.  However, I fear I need further clarification.

Frank, do I infer from your mention of the context choices I find on my laptop that I must have a somewhere installed an old version of the now-depracated mass tagger plugin?  If so, I don't know where to find and uninstall it, and I've never seen or used it. 

Cutter, I reset the context menu as you describe, but the extra choices are still there on my laptop that are not present on my desktop computer.

Lastly and most importantly I'm still in the dark about how to carry out conditional editing on multiple tags.  For instance, I have a rip of the Bach Well Tempered Clavier to .wma lossess, but the filenames just had the form "track n" (from 1 to 48), and the Title tags were ridiculously long.

As an excerise in learning to use foobar functions (took me HOURS...), I concocted a very long set of functions that ended up automatically fixing the filenames of the tracks as follows:

01 Prelude, C ma
02 Fugue, C ma
03 Prelude, C mi
04 Fugue, C mi
05 Prelude C# ma
06 Fugue, C# ma
07 Prelude C# mi
........48 Fugue B mi

I had to go back and change Ab mi to G# mi because my brain hurt too much to try and program that in... and then I forgot to save my string of functions anyway...

I'd like know how to program a rename of all 48 Title tags using a simlar set of functions.  Of course in the above case I can just get FB to duplicate them from the file names, but there will come a time when I want the Title tags to be different from the file names.

I'm sure I'm missing something very straightforward here, but I remain stumped, because I can't find a similar 'rename' pane for the tags similar to the one for filenames as > File Operations > Rename to...

What I want is, effectively, Tags > [choose tag] > rename to...

Is this what the depracated Mass Tagger used to do?  If so, can I get it and successfully attach it to my current 0.9.5.5?  But I keep reading that the Mass Tagger is no longer necessary because 0.9.5.5 can do all you need without it, and I don't want to clutter up foobar with anything superfluous.

edit multiple tags

Reply #4
Frank, do I infer from your mention of the context choices I find on my laptop that I must have a somewhere installed an old version of the now-depracated mass tagger plugin?

Not necessarily and old version of that component, but yes, you probably updated from an older version of foobar2000 (pre-0.9.5) which still included the masstagger component (foo_masstag.dll).

Quote
I'm sure I'm missing something very straightforward here, but I remain stumped, because I can't find a similar 'rename' pane for the tags similar to the one for filenames as > File Operations > Rename to...

What I want is, effectively, Tags > [choose tag] > rename to...

This is exactly what you can do with the "format from other fields" function in the properties dialog, which I had already mentioned in my first reply. As the format, you enter a title formatting pattern, just like you do in the file operations dialog.

 

edit multiple tags

Reply #5
If you want to replace "Ab mi" with "G# mi", use the "Format from other fields" dialog (Properties, Right-click on a field > "Format from other fields..."). Here you can use the $replace function:
Code: [Select]
$replace(%title%,'Ab mi','G# mi')

edit multiple tags

Reply #6
Finally got it, sorry not to have previously twigged 'Format From Other Fields' -- somehow, despite looking, I failed to find it until now.  All problems solved; thanks again guys for super-quick repies.

Being Very Old, I've used computers since the '70s, and I think foobar2000 is the most nicely crafted bit of work since CP/M.

It's guys like Gary Kildall, Chuck Peddle and Peter Pawlowski who deserve to be mega-rich; not hard-nosed pushy fellows like Mr. Gates....