RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

gggirlgeek
Posts: 67
Joined: Mon Feb 11, 2008 4:24 pm
Location: Seattle, WA

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by gggirlgeek »

OK, I'm stuck. I'm looking for a preset that merges (with a semicolon) all the tags for duplicate tracks on multiple albums. So I think it would have to add all fields with some exceptions. These fields would be added without semicolons only if the <Into field> is empty: Artist, Title, and Lyrics; then possibly Tempo, Mood, Occasion, Quality, Original Artist, Lyricist and Title, Playlists, Rating, and the Custom fields of choice. *I'm out of breath!*

...OK, I guess that's why you created the Track Redirection extension. :-)

However, for those who don't want to be dependent on asx files, or want the multi-tags outside of Mediamonkey, I wonder if this preset is possible? One idea is to make it a rather large selection dialog with a lot of pull-downs in order to select the fields that are wanted. (This would also be a good all-around preset for many situations without having to hunt through the long list (i.e. Live tracks, Rare recordings, Podcasts, updating Classifications.) Put it on your toolbar, select the duplicates in your tree node, and click the button. Done! (Maybe even a Tag Merg extension??)

I know there are several presets that work on individual multi-tag fields. I guess I was thinking of combining them and putting them on steroids. :-)

I looked through the Advanced Duplicate Find & Fix forum, but I didn't see anything about semicolons or multi-tags, only merging play stats. It doesn't seem like development is active anymore either.
My current favorite software: MediaMonkey Gold!
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by ZvezdanD »

gggirlgeek wrote:I'm looking for a preset that merges (with a semicolon) all the tags for duplicate tracks on multiple albums. So I think it would have to add all fields with some exceptions. These fields would be added without semicolons only if the <Into field> is empty: Artist, Title, and Lyrics; then possibly Tempo, Mood, Occasion, Quality, Original Artist, Lyricist and Title, Playlists, Rating, and the Custom fields of choice. *I'm out of breath!*
The main usage of RegExp Find & Replace add-on is with tags from the same tracks, i.e. you could easily copy e.g. Tempo to Artist, or Album to Custom1 or whatever, but for the same track. Well, it is possible to copy tags between different tracks using this add-on, but it is too complicated and not recommended. Here is one example which merges Artist names from different tracks to the Album Artist (please follow the discussion about it): http://www.mediamonkey.com/forum/viewto ... 81#p326881
gggirlgeek wrote:...OK, I guess that's why you created the Track Redirection extension. :-)

However, for those who don't want to be dependent on asx files
I am not sure that understand why you want to copy tags between duplicates, but you are wrong about Track Redirection add-on - you are not dependent on .asx files with it. You could create links between two or more audio tracks as well. Such links would allow easy synchronization of tags and unified playing history for duplicates.
gggirlgeek wrote:One idea is to make it a rather large selection dialog with a lot of pull-downs in order to select the fields that are wanted. (This would also be a good all-around preset for many situations without having to hunt through the long list (i.e. Live tracks, Rare recordings, Podcasts, updating Classifications.) Put it on your toolbar, select the duplicates in your tree node, and click the button. Done! (Maybe even a Tag Merg extension??)

I know there are several presets that work on individual multi-tag fields. I guess I was thinking of combining them and putting them on steroids. :-)
I am sorry, but I still don't understand what you are suggesting. If you are talking about coping/merging tags between different tracks, I said it is possible, but it is too complicated. However, if you are talking about coping several tags to one tag into the same track, then that could be easily done with this add-on.

I think that you are missing a point of a concept "duplicate tracks on multiple albums". Those tracks mostly have only different Album names, release Years and Track numbers. In my opinion such tracks should not have different "Lyrics; then possibly Tempo, Mood, Occasion, Quality, Original Artist, Lyricist and Title, Playlists, Rating, and the Custom fields". Well, maybe only Quality could/should be different, if e.g. duplicates are ripped differently. Anyway, the Track Redirection add-on has a possibility to synchronize only selected tags, you could define which ones you want to synchronize at the Track Redirection sheet in the Options dialog box.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
gggirlgeek
Posts: 67
Joined: Mon Feb 11, 2008 4:24 pm
Location: Seattle, WA

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by gggirlgeek »

ZvezdanD wrote:
gggirlgeek wrote:I'm looking for a preset that merges (with a semicolon) all the tags for duplicate tracks on multiple albums. So I think it would have to add all fields with some exceptions.
ZvezdanD wrote:...the Track Redirection add-on has a possibility to synchronize only selected tags, you could define which ones you want to synchronize at the Track Redirection sheet in the Options dialog box.
Let me go and try Track Redirection before saying more. I'm going on and on without even knowing what it does. :roll:
My current favorite software: MediaMonkey Gold!
gggirlgeek
Posts: 67
Joined: Mon Feb 11, 2008 4:24 pm
Location: Seattle, WA

RegExpReplace Numbered Presets mod -by gggirlgeek

Post by gggirlgeek »

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Hello,



I've customized my own preset list and I thought I would share them with you all.
They're numbered 1-253 so that it is easier to navigate the list.
It's also easier to remember where they are (screenshot below.)




[To install the preset package]

* Double click the .mmip file and install it into Mediamonkey. There will be an uninstall button in your extensions list.

* Make sure RexExp Find & Replace is installed

* In Mediamonkey go to the Edit Menu >> RegExp Export/Import...

* You'll need to save all of your marked or modified presets (they will be at the top of the list by the end of this process.) This will back them up for safe keeping as well.
  • * Uncheck all of the presets by unticking the very top check box.
    * Go through the list and tick all of your personal presets.
    * Click Export and name the backup file.
* Now go back and tick the top check box to select all of the presets.

* ***Deleting all current presets*** Click Del (this is to prevent 253 duplicates from being added.)

* To import your custom presets at the top of this list, click File, right above your list. Click the browse button on the right and get your previously saved .ini file. Click Import. Your personal presets will be the only ones in the list for a minute.

* Finally, click the same browse button and select the "RegExpReplace-gggirlgeek.ini" file. Click Import.


You can view the results by checking the Mediamonkey.ini circle at the top. You should see your custom presets followed by the default presets -- all numbered!

* To uninstall, delete all of these. Import your custom presets backup, then import the original "RegExpReplace.ini" from the same folder. **Why? The uninstall button will only delete the gggirlgeek file. It will not remove the numbered presets from your list. You must do this yourself.** Now you can uninstall the extension from the Extensions menu box. Leaving it installed won't hurt anything, and if you do, you can go back and forth between the lists whenever you want. Just be careful to backup.


After doing all of this, you can now see that it's easy to create your own smaller lists and use them in particular situations.




***Credits: Honestly, ZvezdanD helped so much with this list that he pretty much wrote it. He just forced me to learn how to do it myself with step-by-step instructions. (I was not an easy student! :P ) Thank you, ZvezdanD !

He told me he is planning a better solution for the future, so this numbered list won't be a standard update in his release. I will try and modify the new list when his next release comes out, if his solution isn't ready.




Image


Take care, and I hope it's useful!
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
My current favorite software: MediaMonkey Gold!
Nanya

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by Nanya »

Sorry if this has been asked before, I can't comb through 55 pages to find it.

I'd like to see some kind of auto-complete feature for preset selection. There are currently 253 pre-packaged presets which are all pretty great, but it's a real pain to comb through them all trying to find one. I'm familiar with most of them already, but I can't add ALL the presets I ever use to the toolbar.

I know there is already a (primitive) auto-complete feature, but this requires you to remember the exact title of the preset, and even then you have to type most of it before it weeds out all the presets that start with the same characters.

There should be some sort of dropdown auto-complete where order doesn't matter. I should be able to type a few identifying terms into the box and a dropdown will appear with all the presets that contain those terms, i.e. swap, artist, remove, leading. Complete terms should not be required ("leadi" will show results for "leading"), and it should (obviously) not be case-sensitive.

Thanks for the excellent add-on!
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by Vyper »

Until (or if) that is implemented, what I've done is this:

Copied all the presets from the first post and put them in a notepad replacement text file (I use EditPad which has a free version). I then sorted the presets alphabetically and I can search for any terms or parts of terms to find the preset I want.
Stop Button Freak
Nanya

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by Nanya »

Vyper wrote: Copied all the presets from the first post and put them in a notepad replacement text file (I use EditPad which has a free version). I then sorted the presets alphabetically and I can search for any terms or parts of terms to find the preset I want.
Wouldn't that still require you to know the exact name, or at least the beginning of it?
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by Vyper »

Not with EditPad. You just search for a word, for example, 'leading' (or any part of the word) and it highlights the word's every occurrence. You can quickly scan the expressions containing your search item to find the one you want.

If sorting isn't important to you, Notepad++ has the same search ability but can filter out all the lines that DON'T have your search term making it even easier to find the one you want.
Stop Button Freak
WimYogya
Posts: 329
Joined: Fri Jun 17, 2011 2:21 am
Location: Yogyakarta/Indonesia

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by WimYogya »

Hi,
Can anyone help me restore/reset one of my most used presets: find and replace text?
It is messed up and I don't know how: in the past I only changed the title but not the contents.
But now, when I activate the preset the dialog box pops up and I can ONLY enter the text I want to FIND, cannot enter the text I want to replace it with.
I have already looked in the preset's property box, but I don't understand how that works.
What must I do to get the FULL dialog box back?
Thanks!
Wim - 67 - Dutchman in Yogyakarta/Indonesia
Acer Aspire 6935 - Intel Core 2 Duo P8400, 2.26 GHz, 4 GB Ram DDR3, 320 GB hard disk, 1 CD/DVD-writer, 3 external drives (3Tb + 1Tb + 1Tb) - Windows 7 Ultimate - MM4.0.6.1498 debug and updating if necessary
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by ZvezdanD »

WimYogya wrote:Can anyone help me restore/reset one of my most used presets: find and replace text?
You should be more specific about your situation, I don't understand what you did and what you want to do. About which dialog box are you talking? By the way, if you have modified some predefined preset by mistake, you could always restore it back using the RegExp Export/Import dialog box.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
WimYogya
Posts: 329
Joined: Fri Jun 17, 2011 2:21 am
Location: Yogyakarta/Indonesia

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by WimYogya »

Hi Zvezdan,
I thought I had described my problem properly, but I will try again:
When I double click the preset icon 'Replace text x by y' a dialog box appears.
The first line is DESTINATION FIELD with a dropdownlist, set to TITLE
The second line is STRING TO REPLACE with my previous entry 'NO. '
The third line is 'DESCRIPTION: STRING TO REPLACE -> REPLACE WITH'

There is no option to enter the text that should replace the 'NO. ' in my example.
Before there WAS such box.
Where is it gone?
As said: I only changed the title of the preset.

And you said I can re-import the original preset. But where/how can I find that import feature?
Sorry if this sounds stupid, i cannot find it...
Wim - 67 - Dutchman in Yogyakarta/Indonesia
Acer Aspire 6935 - Intel Core 2 Duo P8400, 2.26 GHz, 4 GB Ram DDR3, 320 GB hard disk, 1 CD/DVD-writer, 3 external drives (3Tb + 1Tb + 1Tb) - Windows 7 Ultimate - MM4.0.6.1498 debug and updating if necessary
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by ZvezdanD »

WimYogya wrote:I thought I had described my problem properly
You still haven't, you should post your preset's settings and/or a screenshot of the RegExp Find & Replace dialog box with selected the mentioned preset. Please read the first post of this thread and the "Information about 4.0 version" section, there you could find the description about <String> tag which you most probably have removed from the Replace with string (according to your description you should have two <String> tags).
WimYogya wrote:And you said I can re-import the original preset. But where/how can I find that import feature?
Edit > RegExp Export/Import, then choose File for import.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Butt_Chunx
Posts: 8
Joined: Sun Oct 09, 2011 3:58 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by Butt_Chunx »

Can I get a preset to take a featuring artist from the Involved People field and COPY it to the Artist field?

The string in the Involved People field will be "Featuring: ARTIST" if it is the only credit present or "Featuring: ARTIST;" if there are other credits.

I would like the artists in the Artist field to be separated by "; " so "ARTIST; ARTIST" is how it should look.
mjkassoc
Posts: 29
Joined: Thu Mar 22, 2012 1:42 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by mjkassoc »

Does RegExp Find & Replace 4.3 work with MediaMonkey 4.x?

For a simple replacement, like replace Artist with Composer, can you do the replacement on all tracks from one album with one operation? All tracks from multiple albums?
rrfpacker
Posts: 1065
Joined: Sat Jul 12, 2008 5:47 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by rrfpacker »

This may be a dumb question, but here goes. Where is the Save button?

I reinstalled this script tonight, version 4.3. On page 14 of the thread I found out how to get rid of the two presets (I actually had three), but could not find the save button so I ended up deleting them. Not a problem for now because I don't think I'll ever need them, but not the way it's supposed to work.

Thank you for a wonderful script.
Post Reply