ExtractFields v0.1.4 [MM2+3]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

You can easily add it so that it will work in the <-- direction.
Add the following line to the end of the Fillin function:

Code: Select all

    Fillin = Replace(Fillin, "<return>", vbCr, 1, -1, 1)
I didn't test this. If the vbCr doesn't give the expected result, then replace it with vbCrLf (or vbNewLine).


As the script is now (using MM for the --> direction parsing) <newline> can't be used for the --> direction.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
mimber
Posts: 11
Joined: Wed Sep 12, 2007 7:39 pm

Post by mimber »

Fantastic. Thank you very much!

Martin.
ResumeMan
Posts: 40
Joined: Wed Feb 08, 2006 1:11 pm

Post by ResumeMan »

sperk wrote:I'm trying to remove leading track numbers.
For example I have a song: 01 Zdravstvuy, mama...
I set field name to Title and Mask to recognize as <Skip>01<Title>
with the arrow pointing back at Title. But what I get is:
%X0101 Zdravstvuy, mama...
What am I doing wrong?
Try this script:
http://www.mediamonkey.com/forum/viewto ... highlight=
ResumeMan
Posts: 40
Joined: Wed Feb 08, 2006 1:11 pm

Post by ResumeMan »

While I'm posting to this thread --

I can't quite figure out if this script will do what I want.

I have an album with multiple artists each contributing a song. In the Artist node I'd like to see this album show up once, not once for each artist. Can this script merge the Artist and Title fields into the title field, so I can rename the Artist as the overall name of the album?

I'm sure this is doable, I'm just not able to wrap my brain around it.

Thanks
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Yes

Title <-- <Artist> - <Title>
Artist <-- Various Artists
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Red Fox
Posts: 11
Joined: Tue Nov 27, 2007 3:30 am
Location: Anchorage, Alaska
Contact:

Post by Red Fox »

Steegy -

V0.1.4 header states: "ExtractFields v0.1.4 (last updated 2006-06-04) by Steegy". But it was actually last updated on August 17, 2007, yes? See page 4 of this thread, 6th entry from top from you.

When tj_junk posted his modification on June 26, 2007, note that the header states: "ExtractFields v0.1.3 (last updated 2007-02-01) by Steegy aka RC (Ruben Castelein)". It would be helpful just for documentation if the header was updated :)
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Done. The header is updated :).
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
sperk
Posts: 90
Joined: Wed Oct 11, 2006 1:52 pm

Post by sperk »

I was wondering about 2 things

can you take words out of the artist field
e.g. red hot chili peppers
can you take out "red" or "red hot"?

if a number is part of title e.g. 01Hello, 02Take it
can you get rid of the numbers?
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

can you take words out of the artist field
e.g. red hot chili peppers
can you take out "red" or "red hot"?
ArtistName --> red <Artist>
if a number is part of title e.g. 01Hello, 02Take it
can you get rid of the numbers?
Title --> <skip:2><Title>
or
Title --> <Track#:2><Title>

Could be not 100% accurate as I haven't tried it in quite a while.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
sperk
Posts: 90
Joined: Wed Oct 11, 2006 1:52 pm

Post by sperk »

thanks again! :)
MM3 monkey
Posts: 455
Joined: Mon Aug 27, 2007 2:34 am

Post by MM3 monkey »

Any chance of a confirmation screen or better still a preview?
MMW 4.1.9.1764|MMA 1.1.3.0482|Android 5.0|Win 8.1 64 bit
coolmalayalee
Posts: 30
Joined: Thu May 31, 2007 4:26 pm

Post by coolmalayalee »

Hi Thank you for this script. However, after I save the script to MM/scripts/auto folder and restart the MM I get the following message.

What I am doing wrong? I use MM3 in windows Vista. Please help.

Image
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Post by nynaevelan »

When you copied the code did you copy the ' also, it looks like you missed it? Add it in and restart MM and you should be fine.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
coolmalayalee
Posts: 30
Joined: Thu May 31, 2007 4:26 pm

Post by coolmalayalee »

My Bad..... :(
Thanks for pointing that out.. Now it works fine.
coolmalayalee
Posts: 30
Joined: Thu May 31, 2007 4:26 pm

Post by coolmalayalee »

If I want to change the Lyrics tag to Lyricist tag how do I do that.

I don't find a mask for Lyrics or Lyricist to do it. Any way around it..?
Post Reply