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

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

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

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

Post by Peke » Fri Feb 05, 2016 9:43 pm

yes use trixmoto Album Art Tagger from http://trixmoto.net/mm/scripts.php?id=1

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

Post by TheMcShan » Fri Feb 05, 2016 6:40 pm

Is it possible to make an action that removes all but the first artwork in files?

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

Post by ZvezdanD » Fri Feb 05, 2016 6:23 am

macmcd wrote:I have reinstalled MM many times but I am still plagued with errors, crashes and the program not responding.

I suppose your database is broken. In that case the reinstallation of the program hardly could help. Maybe you should start with the new database.

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

Post by macmcd » Fri Feb 05, 2016 4:45 am

Sorry, I didn't see your email until today. Thanks very much for the update and I will try it today. Incidentally, I have always had so many error messages from MediaMonkey for years now. At the moment, I am experiencing continuos errors just scanning my music library for changed files which may have something to do with it possibly. I have reinstalled MM many times but I am still plagued with errors, crashes and the program not responding. I'll let you know how I get on.

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

Post by ZvezdanD » Fri Feb 05, 2016 2:40 am

macmcd wrote:Error #424 - Microsoft VBScript runtime error

I still cannot reproduce this problem. Did you try the modified version that I sent you?

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

Post by macmcd » Wed Feb 03, 2016 5:01 pm

This may help. I opened RFR with preset 235/572 'Capitilize <Into Field> (ASCII, Latin-1, Latin-2 & Cyrillic)... as the last used script with 'Album' in the 'Into:' field. I successfully capitilised the Album names and then selected 'Title' in the 'Into:' field receiving the following:

Error #424 - Microsoft VBScript runtime error
Object required: "ic"
File: "C:\Users\Mac\AppData\Roaming\MediaMonkey\Scripts\Auto\RegExpReplace.vbs", Line: 38, Column: 194376

I have restarted both the computer and MediaMonkey a number of times prior to this latest error message. Thanks for the 'Manage Presets' tip.

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

Post by ZvezdanD » Wed Feb 03, 2016 9:20 am

macmcd wrote:Is there a simple fix for this before I try a reinstall as I have updated a number of the presets?

I cannot reproduce this problem, maybe it could help if you describe what you did exactly before it happened. Also, it would be nice if you post a screenshot of the error message where i could see the line number in the code where is the error.

I think it would be enough just to restart the program. I doubt that the reinstall of the add-on could change anything, but before that you could export your presets using the Manage Presets dialog box which you could import latter.

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

Post by macmcd » Wed Feb 03, 2016 3:49 am

Hello,

I've just started using version 5 after donating and when I select a new preset I receive the following error message:

Error executing script event.
Object required: "ic"

I am still able to execute the new script but the preview window has not updated from the previous preset. The error also occurs if you select a new value from any of the fields within the preset e.g. 'Into' or 'From'. Is there a simple fix for this before I try a reinstall as I have updated a number of the presets?

Thanks,
Mac.

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

Post by theta_wave » Tue Jan 26, 2016 11:25 pm

Hi,

Is there a way to swap the following Opus and B-number?

String Quartet No.13 in G Major, Op.106, B.192: I. Allegro moderato -> String Quartet No.13 in G Major, B.192, Op.106: I. Allegro moderato

EDIT:
Nevermind I figured it out myself (not too difficult, really)
Find: (^.+)(\,\s)(\w+.\d+)(\,\s)(\w+.\d+)(.+$)
Replace: $1$2$5$4$3$6 or $1\, $5\, $3$6

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

Post by MMFrLife » Thu Jan 07, 2016 1:44 pm

MMFrLife wrote:Yes, I tried all that and it didn't work, so I just couldn't remember if there was anything in the fields or not. .......... Looks like I will reinstall now and hope that is works the next time.

Ok, I figured out what happened without having to reinstall. When I started working with a particular set of files I forgot and made a path change first instead
of waiting to do path last. So, no further changes would work after that because I didn't close the RE F&R dialog box and reopen with new path/location to make further changes. Duh!

And I think the preset in question is essentially the default with only the preset order customized to 17. Anyway, all is good. Thanks again! :)

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

Post by ZvezdanD » Thu Jan 07, 2016 11:11 am

MMFrLife wrote:Can someone post the Find What and Replace With fileds for preset:
Preset ? (unsure of default number): Replace underlines with spaces in <Into Field>...

It cannot be simpler than that: with the Find what you need to specify what you want to find (and replace), which is in this case the underscore ("_"), and with the Replace with you need to specify the replacement, which is the space character.

As I explained before, the RegExpReplace.ini file is a part of the add-on, it is unpacked during the installation to the same folder with the script file, it contains all predefined presets and it is not modified during the add-on's work unless you do that by yourself. Your working presets are stored in the MediaMonkey.ini file together with the installed predefined presets.

If you have modified some predefined preset in MediaMonkey.ini by accident, you could always restore it back using the RegExpReplace.ini file unless you have modified that file as well intentionally or by accident. In that case, as Guest said, just reinstall the add-on. Just don't forget to backup your own created presets before that.

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

Post by Guest » Thu Jan 07, 2016 9:38 am

Preset 2

reinstall script

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

Post by MMFrLife » Thu Jan 07, 2016 8:45 am

Can someone post the Find What and Replace With fileds for preset:
Preset ? (unsure of default number): Replace underlines with spaces in <Into Field>...
Description: Pink_Floyd\Dark_Side_of_the_Moon -> Pink Floyd\Dark Side of the Moon

In moving things around and customizing I somehow messed up the instruction info on that one, as those fields are currently blank.
I don't have the default one anymore (I think I accidentally altered the original) :roll: .

Much appreciated if you can help! :)

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

Post by ZvezdanD » Sat Dec 26, 2015 3:05 am

kluv wrote:I recently started using RegExp 5.0 and I'm trying to figure out how the batch presets work. For instance if I wanted to change the album and Album Artist using a batch preset would I need to create a new script or just combine two separate presets....or am I totally off on how it's suppose to work?

It is the second one, but with some modifications - you need to use two separate presets that are marked as parts of batch. I don't know when you read the Web page of the new version, but I updated it recently with partly added information about its usage. Here is the excerpt about the batches:

"The Batch check box should be ticked on if you want to assign the selected preset to some batch group. All presets that belong to the same batch should have the same Menu name which will appear in the Batch Presets sub-menu. When you choose some batch from that menu, the presets that belong to it will be applied in the same order as they are sorted in the list of presets."

So, if you want to change Album and Album Artist at once you need to create one preset that will change Album and the second one that will change Album Artist, then you need to assign the same Menu and to mark both preset by checking the Batch option on.

The Usage section on the Web page contains a little more bits of information about the batch presets. Please let me know if you still have some doubts about it.

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

Post by kluv » Fri Dec 25, 2015 10:58 pm

Merry Christmas and Happy Holidays!! Hope everyone is finding a little peace today.

I recently started using RegExp 5.0 and I'm trying to figure out how the batch presets work. For instance if I wanted to change the album and Album Artist using a batch preset would I need to create a new script or just combine two separate presets....or am I totally off on how it's suppose to work?

Thank you for any information or help you can provide.

Also thank you ZvezdanD for answering my question a few weeks ago, apologies for not doing this sooner.

Top