Complex modification of tags

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Complex modification of tags

Postby Matmat » Tue Oct 11, 2011 7:49 pm

Hi community,

I am not really familiar with scripts, but there's a manipulation I think could possibly be done with them. I have not found anything like this but there are so many topics I don't know where to look for. Here's what I would like to do:

Take the [Artist] tag, Replace it by the [Composer] tag, and Modify the [Album] tag as follows : "[previous Album name] ([previous Artist name])".

This is for classical music, where it annoys me to have the interpret as the artist name. And since it's for a big collection, it seems a script could be very usefull. Does anything similar to this exist?? I tried to understand how to program it myself but I'm afraid I don't know enough about programing.... :cry:

Any kind of help or indication very much appreciated!

Mat
Matmat
 
Posts: 7
Joined: Wed Dec 15, 2010 9:00 am

Re: Complex modification of tags

Postby ZvezdanD » Fri Oct 14, 2011 2:49 pm

Matmat wrote:Take the [Artist] tag, Replace it by the [Composer] tag, and Modify the [Album] tag as follows : "[previous Album name] ([previous Artist name])".

You could do that with RegExp Find & Replace add-on using two presets. For example, to modify Album you should specify:
Find what: ^.*
Into: Album
Regular expression 1: checked
Replace with: "$& (" & oSongData.ArtistName & ")"
VBScript expression: checked

You could use one of the existing presets to replace Artist with Composer.
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export M3Us/Create Playlists for Child Nodes 3.6.1 (2012-01-09)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.1 (2012-05-31)  Find Currently Playing Track 1.2 (2012-02-14)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0 (2012-01-16)
Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2589
Joined: Thu Jun 08, 2006 7:40 pm

Re: Complex modification of tags

Postby Matmat » Sun Oct 23, 2011 11:09 am

Thank you very much for your reply.

This is usefull, but what I really need is the possiblity not just to completely change one label to another one, but to modify it, adding more words without loosing the previous expression. i.e. Having two labels into one, the album and the performer, since there is no "performer" label.
Matmat
 
Posts: 7
Joined: Wed Dec 15, 2010 9:00 am

Re: Complex modification of tags

Postby ZvezdanD » Sun Oct 23, 2011 7:05 pm

As I said, you could do that with RegExp Find & Replace add-on. Did you try it at all?
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export M3Us/Create Playlists for Child Nodes 3.6.1 (2012-01-09)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.1 (2012-05-31)  Find Currently Playing Track 1.2 (2012-02-14)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0 (2012-01-16)
Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2589
Joined: Thu Jun 08, 2006 7:40 pm

Re: Complex modification of tags

Postby Matmat » Sun May 27, 2012 7:08 pm

Heeey

It's been a long time we had this conversation and I must admit I had never taken the time to try it until today. It works! Thanksa lot!! Does exactly what I wanted to do.

Do you know if it's possible to:

*change Album Artist and Artist at the same time?
*associate these two actions (and eventually a third one : replace artist by album artist or something like that)?

And also I don't know why but I can't manage to save presets. The "Add" button is greyed-out.

So if you can help me out again with these, it'd be grand. But thanks again for your answer, I apologise for taking so long to try it and for answering too quickly without having tried it!

Mat
Matmat
 
Posts: 7
Joined: Wed Dec 15, 2010 9:00 am


Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 12 guests