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

MMFrLife
Posts: 2894
Joined: Fri Oct 26, 2012 9:04 pm
Location: MM Forum

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

Post by MMFrLife »

Asheville wrote: Mon May 02, 2022 6:57 pm I believe that that preset #207 was supposed to extract part of the folder name. That's not what I wanted
The enhanced version of the addon does what you want under Path Manipulations menu, with your choice of a 'left-specified' folder level preset or a 'right-specified' folder level preset (see my signature for site info)
MM user since 2003 (lifetime lic. 2012) "Trying to imagine life without music gives me a headache"
Top 2 scripts: RegExp Find & Replace (e.v.) and Magic Nodes (e.v.) ZvezdanD's scripts site
Please take a moment to read the bottom of the linked page to support the one and only - ZvezdanD! (the "originator" since 2006).
MMW 4.1.31.1919; 5.0.4.2690 || back it up...frequently!
|| software for power users: "Q-Dir" (free alt. to explorer) and file/folder renamer: "ReNamer" (den4b)
"The absurd is the essential concept and the first truth"
😜
Asheville
Posts: 3
Joined: Sun May 01, 2022 7:01 pm

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

Post by Asheville »

Good to know. TY.

- Michael
AlanH
Posts: 198
Joined: Sun Sep 08, 2013 3:54 pm

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

Post by AlanH »

Can anyone help me, i just had to replace my laptop so reloaded the donation version of regexp, now i cant find a specific preset i used to use. It allowed me to copy the quality field to the end of the album name with - used as a seperator so as an example.

"Greatest hits" became "Greatest hits - Flac"
MMFrLife
Posts: 2894
Joined: Fri Oct 26, 2012 9:04 pm
Location: MM Forum

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

Post by MMFrLife »

AlanH wrote: Sun Jul 17, 2022 1:58 pm ...copy the quality field to the end of the album name with - used as a seperator so as an example.
"Greatest hits" became "Greatest hits - Flac"
Probably more than one way, but here is one -
Insert <From Field> to <Into Field> after specified string... [#44 in latest version]

Tune-

SF: Extension
DF: Album

IA: empty

ARS: ticked

P: ' - '
S: empty
MM user since 2003 (lifetime lic. 2012) "Trying to imagine life without music gives me a headache"
Top 2 scripts: RegExp Find & Replace (e.v.) and Magic Nodes (e.v.) ZvezdanD's scripts site
Please take a moment to read the bottom of the linked page to support the one and only - ZvezdanD! (the "originator" since 2006).
MMW 4.1.31.1919; 5.0.4.2690 || back it up...frequently!
|| software for power users: "Q-Dir" (free alt. to explorer) and file/folder renamer: "ReNamer" (den4b)
"The absurd is the essential concept and the first truth"
😜
AlanH
Posts: 198
Joined: Sun Sep 08, 2013 3:54 pm

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

Post by AlanH »

Thanks all sorted now.
Gibbs

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

Post by Gibbs »

Any intention of migrating to MM5 ? will gladly support. Best MM tools
ZvezdanD
Posts: 3262
Joined: Thu Jun 08, 2006 7:40 pm

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

Post by ZvezdanD »

There is an explanation about that in the Compatibility section on the web page of the add-on.
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
cokehearth
Posts: 66
Joined: Thu Aug 24, 2017 6:13 am

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

Post by cokehearth »

Hello brain trust!

Is it possible to get the FIRST letter of each artist of a track and copy that to genre?

I've managed to use Left(oSongData.ArtistName,1), but this does not take into account tracks with multiple artists (separated with a semi-colon).

So, for example, "Madonna" would become "M".

But, if it is, say, "Madonna; Britney Spears", it'd be great if it could return "M; B".

Is it possible?

Many thanks!
Primarily using: MM4 (latest update) Gold on Windows 11 (32GB RAM);
Samsung A54G 128GB/1TB MicroSD.

Library: 1875GB (254680+) files, on a Network Drive (Windows)
cokehearth
Posts: 66
Joined: Thu Aug 24, 2017 6:13 am

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

Post by cokehearth »

cokehearth wrote: Tue Nov 01, 2022 3:44 am Hello brain trust!

Is it possible to get the FIRST letter of each artist of a track and copy that to genre?

I've managed to use Left(oSongData.ArtistName,1), but this does not take into account tracks with multiple artists (separated with a semi-colon).

So, for example, "Madonna" would become "M".

But, if it is, say, "Madonna; Britney Spears", it'd be great if it could return "M; B".

Is it possible?

Many thanks!
I apologise for bumping the thread unnecessarily, but I've been trying to accomplish this by trying out various codes for a month now, and sadly I'm not getting anywhere.

If there's anyone who knows a possible solution, I'd be most grateful!

ETA: I do have the enhanced version of the plugin, if that helps.
Primarily using: MM4 (latest update) Gold on Windows 11 (32GB RAM);
Samsung A54G 128GB/1TB MicroSD.

Library: 1875GB (254680+) files, on a Network Drive (Windows)
cldcp00
Posts: 19
Joined: Fri Aug 17, 2012 5:12 am

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

Post by cldcp00 »

I am having some issues reinstalling this add-on.

For some reason the add-on just seems to have disappear from my Mediamonkey menu even thought the Extension list says its still there.

When I try to uninstall its says that the uninstall file (VBS) is missing so I deleted the folder in AppDATA and it was no longer in the Extension list.

Problem now is that when I try to reinstall aq message comes up that it was not installed.

I think it was not cleanly uninstalled

So please could you advise how I can get it reinstalled

I am using Version 4 of the software on Windows 10

Kind Regards

Desmond
ZvezdanD
Posts: 3262
Joined: Thu Jun 08, 2006 7:40 pm

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

Post by ZvezdanD »

cldcp00 wrote: Sun Jan 08, 2023 7:39 pm Problem now is that when I try to reinstall aq message comes up that it was not installed.
What exactly that message says? Could you post its screenshot?
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
cokehearth
Posts: 66
Joined: Thu Aug 24, 2017 6:13 am

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

Post by cokehearth »

Hi,
Another request - let's see if this one is possible (I have tried searching, again, to no avail).

Is it possible to have a playcount synced across songs that share the same title and artist?

I have tried playing with the following script:

Code: Select all

IfNull(SQLQuery("SELECT Max(Playcounter) FROM Songs WHERE IDAlbum = " & oSongData.Album.ID & " GROUP BY IDAlbum"), "$&")
Which works great to make all the tracks on an album have the same playcount. But in trying various GROUP BY options, and altering the IDAlbum, I just can't make it work so that it syncs the playcount across tracks with the same artist and title?

Am I being really dim and missing something obvious?
Primarily using: MM4 (latest update) Gold on Windows 11 (32GB RAM);
Samsung A54G 128GB/1TB MicroSD.

Library: 1875GB (254680+) files, on a Network Drive (Windows)
iampariah
Posts: 10
Joined: Mon Feb 29, 2016 2:45 pm

RegExp Find & Replace Won't Work on Comment Field

Post by iampariah »

I have RegExp Find & Replace (paid version) and love it. I can do so much to organize my library, but I'm having a problem where, no matter what I do, it won't work with the Comment field.

I try to search for
^(.*)
with Regular Expression in Comment field

and replace with
$1
Tag: Female Fronted

(or anything in the Replace with) field.

BUT, the Into field always changes into Title, Composer, or some other field. It seems to refuse to search the Comment field. It also wraps the Preset title in quotation marks, unlike all my other custom presets.

Help?! I'm trying to use Comment as a way to provide a taxonomy outside Genre for specialty organization.
Post Reply