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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

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

Postby barkoz » Sat Feb 28, 2009 11:19 pm

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
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]

Postby sommo » Sat Mar 14, 2009 2:57 pm

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

Thanks!
sommo
 
Posts: 122
Joined: Thu Nov 08, 2007 9:48 am

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

Postby ZvezdanD » Sat Mar 14, 2009 5:56 pm

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.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: 2594
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby SpiderMonkey » Sun Mar 15, 2009 2:16 am

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.
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]

Postby TekGamer » Wed Mar 18, 2009 10:32 am

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
---------------------------------------------------------------------------------------------
TekGamer
 
Posts: 47
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]

Postby ZvezdanD » Wed Mar 18, 2009 11:11 am

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.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: 2594
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby TekGamer » Wed Mar 18, 2009 1:58 pm

ZvezdanD - I sent you my RegExpPresets section via PM.
TekGamer
TekGamer
 
Posts: 47
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]

Postby ZvezdanD » Wed Mar 18, 2009 3:58 pm

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.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: 2594
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby TekGamer » Thu Mar 19, 2009 9:13 am

Thanks ZvezdanD! I have no idea how I got duplicates.
TekGamer
TekGamer
 
Posts: 47
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]

Postby Guest » Mon Apr 13, 2009 7:33 am

Fantastic Script, thank you!
Guest
 

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

Postby ZvezdanD » Tue Apr 14, 2009 12:16 pm

There is a new release: v3.4.2 - 2009-04-14
- Fixed: saving of presets with localized versions of Windows.
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: 2594
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby martialartsguy » Tue Apr 14, 2009 1:30 pm

Any chance of getting a custom code to replace blank lyrics with "[Instrumental]" sans quotes?
MM 4.0.0.1459
martialartsguy
 
Posts: 222
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]

Postby ZvezdanD » Tue Apr 14, 2009 2:38 pm

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.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: 2594
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby martialartsguy » Tue Apr 14, 2009 3:06 pm

Thanks!
MM 4.0.0.1459
martialartsguy
 
Posts: 222
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]

Postby MCSmarties » Tue Apr 14, 2009 5:07 pm

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!
MCSmarties
 
Posts: 248
Joined: Tue Dec 06, 2005 8:01 pm

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 19 guests