Remove Prefixes 1.1 - Updated 26/01/2008
Yeah, this script does seem to have some limitations. I'm not planning to sort them out though as the "Find and Replace" and many other scripts are far more powerful and can be used to achieve the same fixes.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Remove Prefixes 1.1 [MM2+3]
I would just like to say a thank you trixmoto, for this addon!
This is one of the reason why I use MediaMonkey!
It is really helpful and I do use it
Keep up the good work & Happy coding!
This is one of the reason why I use MediaMonkey!
It is really helpful and I do use it

Keep up the good work & Happy coding!
Re: Remove Prefixes 1.1 [MM2+3]
I try to remove suffixes from some files and it doesn't work. I downloaded the album of leonard cohen and all titles have " [Live In London]/Live In London" at the end that I want to remove. However the script doesn't work. Any reason?
Also I tried to remove even part of that string (like only "n" at the end of title) still doesn't work
Also I tried to remove even part of that string (like only "n" at the end of title) still doesn't work
Re: Remove Prefixes 1.1 [MM2+3]
Maybe a screenshot of the script options screen would be helpful. Of course the "Reg Exp" script is much more powerful and will probably give you better results - this is an old and rather simplistic script with limited functionality.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Remove Prefixes 1.1 [MM2+3]
This is a very useful script--thank you.
I'd like to report an issue that I encountered. I attempted to remove a prefix from the title field of all songs in an album (the artist was appended as a prefix to each track title, and I wanted to remove it). When I ran the script, half the titles were fixed, and half were unchanged. I ran the script again on the unchanged titles without success.
Any suggestions?
Thank you.
I'd like to report an issue that I encountered. I attempted to remove a prefix from the title field of all songs in an album (the artist was appended as a prefix to each track title, and I wanted to remove it). When I ran the script, half the titles were fixed, and half were unchanged. I ran the script again on the unchanged titles without success.
Any suggestions?
Thank you.
Re: Remove Prefixes 1.1 [MM2+3]
I can only imagine that the suffix is different in some way, it just loops through checking each track so I can't think of any other reason. 

Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Remove Prefixes 1.1 [MM2+3]
Thank you. I thought that as well, but confirmed that the prefixes were identical. I'll keep trying.trixmoto wrote:I can only imagine that the suffix is different in some way, it just loops through checking each track so I can't think of any other reason.
Re: Remove Prefixes 1.1 [MM2+3]
From the menu I see scripts under tools and 5 commands under scripts. How do I put in your script?
Re: Remove Prefixes 1.1 [MM2+3]
You need to go to my website (the link in my signature) and go to the scripts section and download the installation package for this script. After installing that, there should be 6 commands in that list.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Remove Prefixes 1.1 [MM2+3]
You'd need to use the RegExp script, this one is designed to be very simple.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Remove Prefixes 1.1 [MM2+3]
A very promising add-on -- unfortunately I haven't yet got it to work.
I selected four tracks, with these titles:
String Quartet No. 4 in C minor, Op. 18/4: 1. Allegro ma non tanto
String Quartet No. 4 in C minor, Op. 18/4: 2. Andante scherzoso quasi allegretto
String Quartet No. 4 in C minor, Op. 18/4: 3. Menuetto. Allegretto
String Quartet No. 4 in C minor, Op. 18/4: 4. Allegro - Prestissimo
I wanted to remove the opening text, "String Quartet No. 4 in C minor, Op. 18/4: ", from each title (since I've put that information into the Grouping field). So I copied that text, selected these four tracks, went Tools-Scripts-Remove Prefixes, chose Prefix, pasted that text (without quotes) into the box, unchecked everything but Title, clicked OK. It displayed the list of the titles, just as they were, and when I clicked OK, nothing changed.
Am I doing something wrong?
I selected four tracks, with these titles:
String Quartet No. 4 in C minor, Op. 18/4: 1. Allegro ma non tanto
String Quartet No. 4 in C minor, Op. 18/4: 2. Andante scherzoso quasi allegretto
String Quartet No. 4 in C minor, Op. 18/4: 3. Menuetto. Allegretto
String Quartet No. 4 in C minor, Op. 18/4: 4. Allegro - Prestissimo
I wanted to remove the opening text, "String Quartet No. 4 in C minor, Op. 18/4: ", from each title (since I've put that information into the Grouping field). So I copied that text, selected these four tracks, went Tools-Scripts-Remove Prefixes, chose Prefix, pasted that text (without quotes) into the box, unchecked everything but Title, clicked OK. It displayed the list of the titles, just as they were, and when I clicked OK, nothing changed.
Am I doing something wrong?
Re: Remove Prefixes 1.1 [MM2+3]
You need to take the space off the end of your string, the script automatically adds one for you.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Remove Prefixes 1.1 [MM2+3]
No worries, glad I could help 

Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.