Remove Prefixes 1.1 - Updated 26/01/2008

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Postby trixmoto » Sun Jun 08, 2008 7:48 am

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.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Remove Prefixes 1.1 [MM2+3]

Postby sommo » Sat Jun 28, 2008 12:26 pm

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!
sommo
 
Posts: 122
Joined: Thu Nov 08, 2007 9:48 am

Re: Remove Prefixes 1.1 [MM2+3]

Postby aprzybylo » Thu Jul 23, 2009 5:57 am

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
aprzybylo
 
Posts: 298
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada

Re: Remove Prefixes 1.1 [MM2+3]

Postby trixmoto » Fri Jul 24, 2009 3:36 am

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.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Remove Prefixes 1.1 [MM2+3]

Postby buckw » Thu Aug 20, 2009 8:04 pm

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.
buckw
 
Posts: 26
Joined: Tue Aug 21, 2007 3:08 pm
Location: Texas

Re: Remove Prefixes 1.1 [MM2+3]

Postby trixmoto » Fri Aug 21, 2009 3:26 am

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. :-?
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Remove Prefixes 1.1 [MM2+3]

Postby buckw » Sat Aug 22, 2009 8:37 pm

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. :-?


Thank you. I thought that as well, but confirmed that the prefixes were identical. I'll keep trying.
buckw
 
Posts: 26
Joined: Tue Aug 21, 2007 3:08 pm
Location: Texas

Re: Remove Prefixes 1.1 [MM2+3]

Postby bru » Thu Dec 17, 2009 2:59 pm

From the menu I see scripts under tools and 5 commands under scripts. How do I put in your script?
bru
 

Re: Remove Prefixes 1.1 [MM2+3]

Postby trixmoto » Fri Dec 18, 2009 4:36 am

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.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Remove Prefixes 1.1 [MM2+3]

Postby Juan Valdez » Wed May 16, 2012 3:48 pm

How do I use wild cards to remove all track numbers
Juan Valdez
 

Re: Remove Prefixes 1.1 [MM2+3]

Postby trixmoto » Sat Jun 16, 2012 8:43 pm

You'd need to use the RegExp script, this one is designed to be very simple.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Remove Prefixes 1.1 [MM2+3]

Postby mmacauley » Sun Oct 21, 2012 2:06 pm

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?
mmacauley
 
Posts: 2
Joined: Mon Sep 24, 2012 1:39 pm

Re: Remove Prefixes 1.1 [MM2+3]

Postby trixmoto » Sun Oct 21, 2012 8:05 pm

You need to take the space off the end of your string, the script automatically adds one for you.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Re: Remove Prefixes 1.1 [MM2+3]

Postby mmacauley » Sun Oct 21, 2012 9:06 pm

Thank you!
mmacauley
 
Posts: 2
Joined: Mon Sep 24, 2012 1:39 pm

Re: Remove Prefixes 1.1 [MM2+3]

Postby trixmoto » Sun Oct 21, 2012 9:14 pm

No worries, glad I could help :)
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9703
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Previous

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 6 guests