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

barkoz
Posts: 121
Joined: Fri May 02, 2008 5:58 pm
Location: Sydney, Australia

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by barkoz »

Awesome.... but for one (for me) incredibly annoying feature that I have not been figure out how to remove.
It adds a toolbar button for the last used preset, The two presets that I use constantly have been assigned presets and when I use them I immediately have another duplicated on the toolbar which clogs the toolbar and forces it to make another as there isn't room on the existing one (I have lots of buttons for all my most common tasks) I like only one toolbar as it maximises the screenspace, suddenly having another (mostly empty) is really annoying. If you could explain how to stop that feature I would be most grateful.
Other than that this is the dogs .... Love it. Thanks for putting in so much effort to make MM the ultimate.
Cheers mate :D :D :D



Edit: It's OK I found it..... now it's perfect. :D :D :D
sommo

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by sommo »

How can I remove "ft." from album artist?
I want to remove "ft." and everything after it...

Thanks!
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by ZvezdanD »

sommo wrote:How can I remove "ft." from album artist?
I want to remove "ft." and everything after it...
Have you tried the "Remove featuring artists from the end of the Artist" preset?
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
SpiderMonkey
Posts: 18
Joined: Sun May 27, 2007 4:49 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by SpiderMonkey »

Thanks for all your troubles and for a wonderful script. I'm teaching myself how to use it and it's loads of fun to learn.
TekGamer
Posts: 110
Joined: Sun Jul 22, 2007 5:33 am
Location: Chicago, IL

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by TekGamer »

After installing RegExp Find & Replace 3.4, upon MM3 startup I get the error:

---------------------------------------------------------------------------------------------
Error #457 - Microsoft VBScript runtime error

This key is already associated with an element of this collection
File: "C:\Program Files\MediaMonkey3\Scripts\Auto\RegExpReplace.vbs, Line: 1073, Column: 12
---------------------------------------------------------------------------------------------

Then I click OK and get the error:

---------------------------------------------------------------------------------------------
Error happened during script execution:
This key is already associated with an element of this collection
---------------------------------------------------------------------------------------------
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by ZvezdanD »

TekGamer wrote:After installing RegExp Find & Replace 3.4, upon MM3 startup I get the error:
Could you send me your RegExpPresets section from the c:\Documents and Settings\your_name\Local Settings\Application Data\MediaMonkey\MediaMonkey.ini file?
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
TekGamer
Posts: 110
Joined: Sun Jul 22, 2007 5:33 am
Location: Chicago, IL

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by TekGamer »

ZvezdanD - I sent you my RegExpPresets section via PM.
TekGamer
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by ZvezdanD »

TekGamer wrote:I sent you my RegExpPresets section via PM.
Thanks for the report. I don't know how it was happen, but you have duplicated presets. I have modified script to suppress such things and I will release it when I finish with some additional options. If you don't want to wait for the next version, you could just remove all presets in the mentioned section from 51 till 100 and it would work fine.
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
TekGamer
Posts: 110
Joined: Sun Jul 22, 2007 5:33 am
Location: Chicago, IL

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by TekGamer »

Thanks ZvezdanD! I have no idea how I got duplicates.
TekGamer
Guest

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-02-25)[MM2+3]

Post by Guest »

Fantastic Script, thank you!
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-04-14)[MM2+3]

Post by ZvezdanD »

There is a new release: v3.4.2 - 2009-04-14
- Fixed: saving of presets with localized versions of Windows.
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
martialartsguy
Posts: 312
Joined: Mon Apr 03, 2006 9:11 am
Location: Denver, CO

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-04-14)[MM2+3]

Post by martialartsguy »

Any chance of getting a custom code to replace blank lyrics with "[Instrumental]" sans quotes?
MM Gold since 2006
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-04-14)[MM2+3]

Post by ZvezdanD »

martialartsguy wrote:Any chance of getting a custom code to replace blank lyrics with "[Instrumental]" sans quotes?
Find what:

Code: Select all

^$
Into: Lyrics
Regular expression 1: checked
Replace with:

Code: Select all

[Instrumental]
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
martialartsguy
Posts: 312
Joined: Mon Apr 03, 2006 9:11 am
Location: Denver, CO

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-04-14)[MM2+3]

Post by martialartsguy »

Thanks!
MM Gold since 2006
MCSmarties
Posts: 251
Joined: Tue Dec 06, 2005 8:01 pm

Re: RegExp Find & Replace 3.4 w/ 101 presets (2009-04-14)[MM2+3]

Post by MCSmarties »

Wow, this script is fast becoming the most powerful add-on ever written for MM!
Seems like there's no limits to what regular expressions can do... and I'm still at the beginning of the learning curve!

I do have one suggestion for further development of this script.
My biggest worry is becoming to FIND the preset I want.

Any chance of organizing the presets into categories / subdirectories / something else within the script?
Maybe filter them by source field or something?

Thanks!
Post Reply