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 TSP7 » Mon Jun 03, 2013 3:19 am

Just started beating my collection into shape with Mediamonkey and loving this tool very much already! Thanks ZvezdanD!

I just used last.fm import to get my playcounts and, even better, last played dates, but some tracks were not imported as good as others and have no last played date. Is it possible to copy the last played date from a track above a track (and how would I do this)?

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

Post by Davo » Sun Jun 02, 2013 3:05 am

Thanks ZvezdanD for your assistance & also for the work you have done on RegExp Find & Replace especially the presets which makes the editing capability available to a wider non expert audience.
Regards

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

Post by ZvezdanD » Sun Jun 02, 2013 2:12 am

Davo wrote:Here's another piece of the puzzle - It seems that when you "select" an entire album by left click in the album pane it highlights all the files but does not always "select" them. I noticed this when i was using the Case & Leading Zero addon. Because it asked me to select files even though i thought i had. This might explain why RegExp assumed i hadn't selected any files.
This seems more like a bug in MM than in RegExp

Well, yes, that would be some problem with the program itself, which I already reported to MM developers years ago. MediaMonkey has some really inconsistent way to select tracks after changing nodes in the Tree panel which you could see even with the built-in commands, not only with add-ons - just take a look at the enabled state of some built-in commands in the Tools or Edit menu, e.g. Convert Format, which should be disabled if none track is selected. I though that was changed with MM 4.0, but it seems that the same problem still exists.

By the way, if you click on some node in the Tree panel, then that panel takes the keyboard focus and becomes active. To be sure that you have some track selected, you should click on it in the main trackslist after selecting a node.

As you said, the only way to know how much tracks would be affected is to keep an eye on the number of tracks showing in the RegExp preset dialogue. Also, you should take a look at the status bar of the program which shows how much tracks are selected.

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

Post by Davo » Sun Jun 02, 2013 1:21 am

Here's another piece of the puzzle - It seems that when you "select" an entire album by left click in the album pane it highlights all the files but does not always "select" them. I noticed this when i was using the Case & Leading Zero addon. Because it asked me to select files even though i thought i had. This might explain why RegExp assumed i hadn't selected any files.
This seems more like a bug in MM than in RegExp

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

Post by Davo » Sun Jun 02, 2013 12:20 am

OK - Spoke too soon. The problem re-occurred. Unfortunately it seems unpredictable. Occasionally even when a specific number of tracks are selected the RegExp dialogue shows that it ignores this & selects the entire Collection or Node.
Sorry I can't be more specific, at least i know now to keep an eye on the number of tracks showing in the RegExp preset dialogue

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

Post by ZvezdanD » Sat Jun 01, 2013 7:33 pm

Davo wrote:After the editing problems in my original post I uninstalled RegExp then reinstalled but got the message above. I didn't update the presets & RegExp installed ok. Then I uninstalled & reinstalled again. This time i just got the usual " Do you want to install the 253 presets" message which i did.
Now everything works ok & i have'nt been able to replicate the problem. Maybe i screwed up the presets at some point although i have never deliberately modified any of them or created new ones.

That message is quite normal and could be seen during the re-installation of the add-on not only if you changed some predefined preset, but also if the new version of the add-on has some preset updated/improved. If you want to avoid such message you should choose removing of all add-on settings from the .ini file when uninstalling the add-on (which you, most probably, already did before the second attempt of the installation).

However, I don't think that updating the presets is a reason for not showing the mentioned problem again, and I suppose it is something else causing that. As I said, the only reason for such behavior that comes to my mind would be if you had none selected track in the active panel, i.e. the panel with the keyboard focus. Maybe you had the Now Playing panel active with all tracks from the library in it, but none selected? Please inform me if you could reproduce the problem again, so I could fix the bug.

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

Post by Davo » Sat Jun 01, 2013 6:50 pm

Don't know what happened to the image. You can see it here: http://www.flickr.com/photos/29503587@N07/8917377297/

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

Post by Davo » Sat Jun 01, 2013 6:46 pm

Image

After the editing problems in my original post I uninstalled RegExp then reinstalled but got the message above. I didn't update the presets & RegExp installed ok. Then I uninstalled & reinstalled again. This time i just got the usual " Do you want to install the 253 presets" message which i did.
Now everything works ok & i have'nt been able to replicate the problem. Maybe i screwed up the presets at some point although i have never deliberately modified any of them or created new ones.

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

Post by Davo » Sat Jun 01, 2013 5:32 pm

I only use the presets & always select the tracks i want to edit. I was in the Show Art with details panel.
The presets i used were "Remove specified number of words from beginning" Add specified string to beginning...."
The files were audio mp3 &flac. I was using the presets to edit the "title" tag.
From memory i think RegExp was changing the entire Collection rather than just the files i selected. I terminated RegExp when i realised what was happening.

Let me know if you need any other info & thanks for your quick response.

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

Post by ZvezdanD » Sat Jun 01, 2013 7:45 am

Davo wrote:Just noticed some strange behaviour when i use RegExp with MM 4.1.0. 1640. ie RegExp is changinging thousands of files that have not been selected. This behaviour seems to have started happening in the last two releases of 4.1.0.

Please, could you be more specific? Do you mean on changed tags in media files or what? How did you get changed files, i.e. did you use the RegExp Find and Replace dialog box or some specific preset from the Tag Manipulation Presets menu? Which panel of the program was active when that happened, the main tracklist or the Now Playing panel? Did you have at least one file selected in that panel before applying the preset? If you have used the RegExp F&R dialog box, did you have displayed "visible" or "selected" text at the bottom left corner of the dialog box next to the number of the current file?

Here is the excerpt from the first post of this thread:
"Maybe this is not obvious, so you should know that before you enter to the RegExp Find and Replace dialog box, you should first select tracks in the MM tracklist window for which you want to search or replace their data. If you don't select any track, this add-on will search/replace all tracks which are visible inside of the tracklist window. Please be very careful! If your tracklist has displayed all tracks from your database, after inappropriate usage of this add-on you could get undesired effect"

By the way, the next version of this add-on will not have such behavior with visible/selected tracks, precisely because of such situations like your, so if none track is selected then it will not apply the preset to all visible tracks.

However, if you have had at least one track selected when that happened then we have some another, more serious problem.

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

Post by Davo » Sat Jun 01, 2013 5:22 am

Just noticed some strange behaviour when i use RegExp with MM 4.1.0. 1640. ie RegExp is changinging thousands of files that have not been selected. This behaviour seems to have started happening in the last two releases of 4.1.0.

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

Post by FEB » Thu May 23, 2013 11:13 am

Fantastic! Thank you very much!

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

Post by ZvezdanD » Thu May 23, 2013 9:54 am

FEB wrote:I have a request. Is it possible to populate one of the Custom fields with the AlbumID number?

Yes. You could use oSongData.Album.ID with the VBScript expression option.

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

Post by FEB » Thu May 23, 2013 8:54 am

I have a request. Is it possible to populate one of the Custom fields with the AlbumID number?

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

Post by downundermike » Mon Apr 22, 2013 3:58 pm

Love this add on. Not good enough to figure out how to write code or manipulate the pre existing so any help would be appreciated.

I have taken one of the custom fields and renamed it featuring, so all additional artists on the track are listed in this field.

How do I then do a find and replace to move feat. from the end of song name, or artist name to Custom 1 " featuring "

Top