More > JRiver Media Center 22 for Windows

Extract partial information from a tag by template to populate another tag?

(1/2) > >>

Simon Chick:
I am trying to upgrade my Classical tagging to use more of the standard tag fields.

My original schema is Artist = composer, and performers are all put in the Comment tag.

It is easy to populate the Composer tag, and I've done that already.

Now I want to populate the Conductor tag, and then Orchestra.

In the comment tag it will say xxx xxx Orchestra, cond. John Smith

Is there a way to automate a tag rewrite so that the program looks for the text after cond. and puts that in the Conductor field?

I am trying to find a way that does no need manual intervention for all 25,000 or so tracks involved.

Any suggestions gratefully received, especially if I can understand them  ::)

blgentry:
This is untested, but something like this should work:


--- Code: ---regex([Comment],/#cond\.\s(.+)#/,-1,0)[R1]
--- End code ---

Try that in an expression column and see how it works.

Brian.

Simon Chick:
Thank you.

This is definitely outside my experience zone, but I will have a crack at it this weekend and report back.

Simon Chick:
I fell at the first fence, or rather never reached it.

How and where can I open an expression column to enter the expression to test its effect?

blgentry:
Right click on the column headers of any view that shows files.  Then select "add expression column".

Brian.

Navigation

[0] Message Index

[#] Next page

Go to full version