PersonalTagEnhancer (AutoTagging)

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX » Sat Mar 15, 2008 6:02 pm

Steegy wrote:The latest script code, which works for MM3, is located here. The code on the first page only works for MM2.
The server is back up and the installer (page 4) can be used.

Regards,
Red

martialartsguy
Posts: 280
Joined: Mon Apr 03, 2006 9:11 am
Location: Denver, CO

Post by martialartsguy » Sun Mar 16, 2008 11:22 am

Thanks Steegy, works fine now.

Is there a way I can have the script only show changes that it's making - right now it shows every track even if there's nothing changing.

The only difference I made to the script was to add in the Case Checker script.

Thanks-
Brian
MM 4.1.28.1905
MMA 1.3.7.0906

MM Gold since 2006

SerialK
Posts: 31
Joined: Sun Feb 24, 2008 1:57 pm

Post by SerialK » Sun Mar 16, 2008 11:38 am

bob61 wrote: I see what the difference is, your album field is populated. After looking into this further I noticed that each time my track was blanked out it had a blank album. Given the nature of the script I'd expect it to simply change values not purge others based on impact to another field. Not sure if that is expected or just a by product.

I got that problem too, is this going to be fixed in the next version?

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

Post by Steegy » Sun Mar 16, 2008 4:25 pm

SerialK wrote:
bob61 wrote: I see what the difference is, your album field is populated. After looking into this further I noticed that each time my track was blanked out it had a blank album. Given the nature of the script I'd expect it to simply change values not purge others based on impact to another field. Not sure if that is expected or just a by product.

I got that problem too, is this going to be fixed in the next version?
This is "by design". A track that isn't part of an album doesn't have/need a track number. If it IS part of an album, you should fill in the Album and AlbumArtist properties of that track accordingly.
If you know that some tracks are from the same album but can't immediately remember the album name, then just call the album "Unknown Album" or something similar, until you've found the name. Doing it like this is logical, and will help you otherwise too (e.g. kepping tracks of the same album together) and is useful for some scripts that rely on that.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).

RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX » Sun Mar 16, 2008 5:25 pm

martialartsguy wrote:Thanks Steegy, works fine now.

Is there a way I can have the script only show changes that it's making - right now it shows every track even if there's nothing changing.

The only difference I made to the script was to add in the Case Checker script.

Thanks-
Brian
In the installer i think i changed it to only show what was changed.

The code Steegy posted is not the most up-to-date. The one i use shows only the modified files.

Regards,
Red

latinmusiclover
Posts: 183
Joined: Tue Feb 27, 2007 11:31 pm

Post by latinmusiclover » Sat Apr 05, 2008 12:56 pm

Steegy wrote:The latest script code, which works for MM3, is located here. The code on the first page only works for MM2.
Every time I click the here link, I end up back in this thread looking at a post dated Sun Feb 24, 2008 11:50 am that shows code that says it's "Updated on 03/04/06" and Ver 1.0. The one I have on my system (from MM2.5) is "Updated on 2007-07-27". Which is the latest and correctt one for MM3?

RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX » Sat Apr 05, 2008 4:32 pm

This is the latest version for mm3

PTE installer MM3

Regards,
Red

latinmusiclover
Posts: 183
Joined: Tue Feb 27, 2007 11:31 pm

Post by latinmusiclover » Sun Apr 06, 2008 1:55 pm

RedX wrote:This is the latest version for mm3

PTE installer MM3
Thanks. Got it.

This version doesn't have the "littleWordString"and "forceCapString" of the previous version. Why are they missing?

RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX » Sun Apr 06, 2008 2:46 pm

latinmusiclover wrote:
RedX wrote:This is the latest version for mm3

PTE installer MM3
Thanks. Got it.

This version doesn't have the "littleWordString"and "forceCapString" of the previous version. Why are they missing?
The script you are refering to is the case.vbs that comes as default with MM.
Try this one if you need capitalization:
Case and leading zero fixer

Regards,
Red

latinmusiclover
Posts: 183
Joined: Tue Feb 27, 2007 11:31 pm

Post by latinmusiclover » Sun Apr 06, 2008 4:09 pm

RedX: This is the latest version for mm3

me: This version doesn't have the "littleWordString"and "forceCapString" of the previous version. Why are they missing?

RedX: The script you are refering to is the case.vbs that comes as default with MM.
PersonalTagEnhancer, or at least versions prior to this latest one, incorporated both. I know because I have an version from July 2007 and it ha both those sections. Is there any reason they were left out of this latest version?

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Post by Owyn » Mon Apr 21, 2008 7:47 am

Looks great (on a quick scan of the code). Need to think about some of the conversions but that is more a personal preference than a technical comment.

Is this script clean with MM3?
Edit: Nevermind, found the MM3 installer link. That's what happens when you jump from page 1 to end of long thread.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

Seeker
Posts: 264
Joined: Tue Jul 10, 2007 3:17 pm

Post by Seeker » Wed May 14, 2008 6:29 pm

Maybe I'm just confused, but I installed this, and when I select some tracks, and hit Ctrl I - I just get a blank screen with "changes by personal preference" - is this really an empty script and do I have to add what I want changed?

I don't see a place to add how I want the tags to change.

EDIT: Never mind, I just guess I have good tags, I finally found a few that needed 'enhancing'.

dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone » Tue May 20, 2008 10:03 pm

I don't know if this will be of use to anyone else but myself, but I have greatly expanded on the "Function FixCommonWords" Section in this script to personalize it to my likings.

If anyone decides to use any or all of this, please look closely at exactly what you are taking from here. I would hate to be responsible for messing up someone's personalized tag structure.

If you need any help or explanation on what the below is, why I have some replacements twice, etc... don't be shy.

The following includes the original replacements, but they have been moved around to different parts of my definitions and some of the original definitions have been removed totally.

Finally, some of the replacements I made came before Case and Leading Zero Fixer was released, so they are kind of redundant since Case and Leading Zero Fixer has the ability to make some of the replacements, but I left them in there anyways.

Code: Select all

Function FixCommonWords(Tag)
     Tag = ReplaceBadTagPortion(Tag, "Featuring", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "Features", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "Feat", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "Ft", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "Ft.", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "Feat.", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "Feat. Feat.", "feat.")
     Tag = ReplaceBadTagPortion(Tag, "(Feat.", "- feat.")
     Tag = ReplaceBadTagPortion(Tag, "w/", "feat. ")
     Tag = ReplaceBadTagPortion(Tag, "(RMX)", "(Remix)")
     
     Tag = ReplaceBadTagPortion(Tag, "HipHop", "Hip-Hop")
     Tag = ReplaceBadTagPortion(Tag, "Hip Hop", "Hip-Hop")
     Tag = ReplaceBadTagPortion(Tag, "Hiphop", "Hip-Hop")
     Tag = ReplaceBadTagPortion(Tag, "Hip hop", "Hip-Hop")
     
     Tag = ReplaceBadTagPortion(Tag, "3Lw", "3LW")
     Tag = ReplaceBadTagPortion(Tag, "3Lw,", "3LW,")
     Tag = ReplaceBadTagPortion(Tag, "Ll", "LL")
     Tag = ReplaceBadTagPortion(Tag, "2pac,", "2Pac,")
     Tag = ReplaceBadTagPortion(Tag, "2pac", "2Pac")
     Tag = ReplaceBadTagPortion(Tag, "$Hort", "Short")
     Tag = ReplaceBadTagPortion(Tag, "$Hort,", "Short,")
     Tag = ReplaceBadTagPortion(Tag, "K-CI,", "K-Ci,")
     Tag = ReplaceBadTagPortion(Tag, "K-CI", "K-Ci")
     Tag = ReplaceBadTagPortion(Tag, "Chante", "Chanté")
     Tag = ReplaceBadTagPortion(Tag, "Chante,", "Chanté,")
     Tag = ReplaceBadTagPortion(Tag, "Snoop Doggy Dogg", "Snoop Dogg")
     Tag = ReplaceBadTagPortion(Tag, "Snoop Doggy Dogg,", "Snoop Dogg,")
     
          
     Tag = ReplaceBadTagPortion(Tag, "versus", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "vs", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "Vs.", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "JR.", "Jr.")
     Tag = ReplaceBadTagPortion(Tag, "JR", "Jr.")
     Tag = ReplaceBadTagPortion(Tag, "MR", "Mr.")
     Tag = ReplaceBadTagPortion(Tag, "Mr", "Mr.")
     Tag = ReplaceBadTagPortion(Tag, "MR.", "Mr.")
     Tag = ReplaceBadTagPortion(Tag, "SR", "Sr.")
     Tag = ReplaceBadTagPortion(Tag, "SR.", "Sr.")
     Tag = ReplaceBadTagPortion(Tag, "DR", "Dr.")
     Tag = ReplaceBadTagPortion(Tag, "DR.", "Dr.")
     Tag = ReplaceBadTagPortion(Tag, "MS", "Ms.")
     Tag = ReplaceBadTagPortion(Tag, "MS.", "Ms.")
     Tag = ReplaceBadTagPortion(Tag, "Mrs", "Mrs.")
     Tag = ReplaceBadTagPortion(Tag, "Mrs.", "Mrs.")

     Tag = ReplaceBadTagPortion(Tag, "Va", "VA")
     Tag = ReplaceBadTagPortion(Tag, "B'day", "B'Day")
     
     Tag = ReplaceBadTagPortion(Tag, "dj", "DJ")
     Tag = ReplaceBadTagPortion(Tag, "Lil", "Lil'")

          
     Tag = ReplaceBadTagPortion(Tag, "Arent", "Aren't")     
     Tag = ReplaceBadTagPortion(Tag, "Aint", "Ain't")

     Tag = ReplaceBadTagPortion(Tag, "Cant", "Can't")
     Tag = ReplaceBadTagPortion(Tag, "Couldnt", "Couldn't")

     Tag = ReplaceBadTagPortion(Tag, "Dont", "Don't")
     Tag = ReplaceBadTagPortion(Tag, "Doesnt", "Doesn't")

     Tag = ReplaceBadTagPortion(Tag, "Havent", "Haven't")
     Tag = ReplaceBadTagPortion(Tag, "Hadnt", "Hadn't")     
     
     Tag = ReplaceBadTagPortion(Tag, "Its", "It's")      'Good changes outweigh the bad ones (real "its")
     Tag = ReplaceBadTagPortion(Tag, "Itll", "It'll")     
     Tag = ReplaceBadTagPortion(Tag, "Itd", "It'd")     
     Tag = ReplaceBadTagPortion(Tag, "Im", "I'm")     
     Tag = ReplaceBadTagPortion(Tag, "Isnt", "Isn't")

     Tag = ReplaceBadTagPortion(Tag, "Lets", "Let's")
     
     Tag = ReplaceBadTagPortion(Tag, "Hes", "He's")     
     Tag = ReplaceBadTagPortion(Tag, "Shes", "She's")     

     Tag = ReplaceBadTagPortion(Tag, "Shouldnt", "Shouldn't")
     Tag = ReplaceBadTagPortion(Tag, "Shouldve", "Should've")
     
     Tag = ReplaceBadTagPortion(Tag, "Thats", "That's")
     Tag = ReplaceBadTagPortion(Tag, "Thatll", "That'll")
     Tag = ReplaceBadTagPortion(Tag, "Thatd", "That'd")
     Tag = ReplaceBadTagPortion(Tag, "Theyre", "They're")     
     Tag = ReplaceBadTagPortion(Tag, "Theres", "There's")     
     Tag = ReplaceBadTagPortion(Tag, "Thered", "There'd")     
    
     Tag = ReplaceBadTagPortion(Tag, "Youll", "You'll")
     Tag = ReplaceBadTagPortion(Tag, "Youd", "You'd")
     Tag = ReplaceBadTagPortion(Tag, "Youre", "You're")     
     
     Tag = ReplaceBadTagPortion(Tag, "Weve", "We've")     
     Tag = ReplaceBadTagPortion(Tag, "Wont", "Won't")
     Tag = ReplaceBadTagPortion(Tag, "werent", "Weren't")
     Tag = ReplaceBadTagPortion(Tag, "Whered", "Where'd")
     Tag = ReplaceBadTagPortion(Tag, "Wheres", "Where's")
     Tag = ReplaceBadTagPortion(Tag, "Wouldnt", "Wouldn't")
     Tag = ReplaceBadTagPortion(Tag, "Wouldve", "Would've")

     Tag = ReplaceBadTagPortion(Tag, "Ballin", "Ballin'")
     Tag = ReplaceBadTagPortion(Tag, "Blazin", "Blazin'")
     Tag = ReplaceBadTagPortion(Tag, "Breakin", "Breakin'")
     Tag = ReplaceBadTagPortion(Tag, "Breezin", "Breezin'")
     Tag = ReplaceBadTagPortion(Tag, "Bumpin", "Bumpin'")

     Tag = ReplaceBadTagPortion(Tag, "Catchin", "Catchin'")
     Tag = ReplaceBadTagPortion(Tag, "Callin", "Callin'")
     Tag = ReplaceBadTagPortion(Tag, "Chillin", "Chillin'")
     Tag = ReplaceBadTagPortion(Tag, "Clubbin", "Clubbin'")
     Tag = ReplaceBadTagPortion(Tag, "Cryin", "Cryin'")
     
     Tag = ReplaceBadTagPortion(Tag, "Drankin", "Drankin'")
     Tag = ReplaceBadTagPortion(Tag, "Dancin", "Dancin'")
     Tag = ReplaceBadTagPortion(Tag, "Doin", "Doin'")
     Tag = ReplaceBadTagPortion(Tag, "Dreamin", "Dreamin'")
     Tag = ReplaceBadTagPortion(Tag, "Drinkin", "Drinkin'")
     Tag = ReplaceBadTagPortion(Tag, "Duckin", "Duckin'")

     Tag = ReplaceBadTagPortion(Tag, "Feelin", "Feelin'")
     Tag = ReplaceBadTagPortion(Tag, "Findin", "Findin'")
     Tag = ReplaceBadTagPortion(Tag, "Fuckin", "Fuckin'")

     Tag = ReplaceBadTagPortion(Tag, "Gettin", "Gettin'")
     Tag = ReplaceBadTagPortion(Tag, "Givin", "Givin'")
     Tag = ReplaceBadTagPortion(Tag, "Goin", "Goin'")
     Tag = ReplaceBadTagPortion(Tag, "Grindin", "Grindin'")
     Tag = ReplaceBadTagPortion(Tag, "Grippin", "Grippin'")
     Tag = ReplaceBadTagPortion(Tag, "Groovin", "Groovin'")
     Tag = ReplaceBadTagPortion(Tag, "Growin", "Growin'")
     Tag = ReplaceBadTagPortion(Tag, "Gunnin", "Gunnin'")

     Tag = ReplaceBadTagPortion(Tag, "Havin", "Havin'")
     Tag = ReplaceBadTagPortion(Tag, "Hustlin", "Hustlin'")
     Tag = ReplaceBadTagPortion(Tag, "Hittin", "Hittin'")

     Tag = ReplaceBadTagPortion(Tag, "Illin", "Illin'")

     Tag = ReplaceBadTagPortion(Tag, "Jammin", "Jammin'")

     Tag = ReplaceBadTagPortion(Tag, "Keepin", "Keepin'")
     Tag = ReplaceBadTagPortion(Tag, "Killin", "Killin'")
     Tag = ReplaceBadTagPortion(Tag, "Knockin", "Knockin'")

     Tag = ReplaceBadTagPortion(Tag, "Livin", "Livin'")     
     Tag = ReplaceBadTagPortion(Tag, "Lookin", "Lookin'")
     Tag = ReplaceBadTagPortion(Tag, "Losin", "Losin'")
     Tag = ReplaceBadTagPortion(Tag, "Lovin", "Lovin'")

     Tag = ReplaceBadTagPortion(Tag, "Hangin", "Hangin'")

     Tag = ReplaceBadTagPortion(Tag, "Makin", "Makin'")
     Tag = ReplaceBadTagPortion(Tag, "Mashin", "Mashin'")
     Tag = ReplaceBadTagPortion(Tag, "Messin", "Messin'")
     Tag = ReplaceBadTagPortion(Tag, "Missin", "Missin'")
     Tag = ReplaceBadTagPortion(Tag, "Mornin", "Mornin'")
     Tag = ReplaceBadTagPortion(Tag, "Movin", "Movin'")
     Tag = ReplaceBadTagPortion(Tag, "Muthafukin", "Muthafukin'")

     Tag = ReplaceBadTagPortion(Tag, "Nothin", "Nothin'")
     Tag = ReplaceBadTagPortion(Tag, "Nuthin", "Nuthin'")

     Tag = ReplaceBadTagPortion(Tag, "Peepin", "Peepin'")
     Tag = ReplaceBadTagPortion(Tag, "Pimpin", "Pimpin'")
     Tag = ReplaceBadTagPortion(Tag, "Playin", "Playin'")
     Tag = ReplaceBadTagPortion(Tag, "Poppin", "Poppin'")
     Tag = ReplaceBadTagPortion(Tag, "Pushin", "Pushin'")

     Tag = ReplaceBadTagPortion(Tag, "Rappin", "Rappin'")
     Tag = ReplaceBadTagPortion(Tag, "Ridin", "Ridin'")
     Tag = ReplaceBadTagPortion(Tag, "Rockin", "Rockin'")
     Tag = ReplaceBadTagPortion(Tag, "Rollin", "Rollin'")
     Tag = ReplaceBadTagPortion(Tag, "Runnin", "Runnin'")

     Tag = ReplaceBadTagPortion(Tag, "Sailin", "Sailin'")
     Tag = ReplaceBadTagPortion(Tag, "Sayin", "Sayin'")
     Tag = ReplaceBadTagPortion(Tag, "Searchin", "Searchin'")
     Tag = ReplaceBadTagPortion(Tag, "Sexin", "Sexin'")
     Tag = ReplaceBadTagPortion(Tag, "Shovlin", "Shovlin'")
     Tag = ReplaceBadTagPortion(Tag, "Sippin", "Sippin'")
     Tag = ReplaceBadTagPortion(Tag, "Sittin", "Sittin'")
     Tag = ReplaceBadTagPortion(Tag, "Slippin", "Slippin'")
     Tag = ReplaceBadTagPortion(Tag, "Smilin", "Smilin'")
     Tag = ReplaceBadTagPortion(Tag, "Smokin", "Smokin'")
     Tag = ReplaceBadTagPortion(Tag, "Somethin", "Somethin'")
     Tag = ReplaceBadTagPortion(Tag, "Stayin", "Stayin'")
     Tag = ReplaceBadTagPortion(Tag, "Stealin", "Stealin'")
     Tag = ReplaceBadTagPortion(Tag, "Steppin", "Steppin'")
     Tag = ReplaceBadTagPortion(Tag, "Strugglin", "Strugglin'")
     Tag = ReplaceBadTagPortion(Tag, "Storytellin", "Storytellin'")
     Tag = ReplaceBadTagPortion(Tag, "Survivin", "Survivin'")
     Tag = ReplaceBadTagPortion(Tag, "Swingin", "Swingin'")

     Tag = ReplaceBadTagPortion(Tag, "Talkin", "Talkin'")
     Tag = ReplaceBadTagPortion(Tag, "Testin", "Testin'")
     Tag = ReplaceBadTagPortion(Tag, "Timin", "Timin'")
     Tag = ReplaceBadTagPortion(Tag, "Thinkin", "Thinkin'")
     Tag = ReplaceBadTagPortion(Tag, "Thuggin", "Thuggin'")
     Tag = ReplaceBadTagPortion(Tag, "Tradin", "Tradin'")
     Tag = ReplaceBadTagPortion(Tag, "Travelin", "Travelin'")     
     Tag = ReplaceBadTagPortion(Tag, "Triflin", "Triflin'")
     Tag = ReplaceBadTagPortion(Tag, "Trippin", "Trippin'")
     Tag = ReplaceBadTagPortion(Tag, "Trodin", "Trodin'")
     Tag = ReplaceBadTagPortion(Tag, "Truckin", "Truckin'")
     Tag = ReplaceBadTagPortion(Tag, "Tryin", "Tryin'")
     Tag = ReplaceBadTagPortion(Tag, "Tumblin", "Tumblin'")

     Tag = ReplaceBadTagPortion(Tag, "Waitin", "Waitin'")
     Tag = ReplaceBadTagPortion(Tag, "Workin", "Workin'")

     
     Tag = ReplaceBadTagPortion(Tag, "Til", "Till")
     
     'Tag = ReplaceBadTagPortion(Tag, "And", "&")
          
     Tag = ReplaceBadTagPortion(Tag, "[Special Edition]", "(Special Edition)")
     Tag = ReplaceBadTagPortion(Tag, "[*]", "(Bonus)")
     Tag = ReplaceBadTagPortion(Tag, "(*)", "(Bonus)")
     Tag = ReplaceBadTagPortion(Tag, "[#]", "(Unreleased)")     
     Tag = ReplaceBadTagPortion(Tag, "(#)", "(Unreleased)")
     
     Tag = ReplaceBadTagPortion(Tag, "(Acapella)", "(A Cappella)")
     Tag = ReplaceBadTagPortion(Tag, "(Accapella)", "(A Cappella)")
     Tag = ReplaceBadTagPortion(Tag, "(Acappella)", "(A Cappella)")
     Tag = ReplaceBadTagPortion(Tag, "Acapella", "A Cappella")
     Tag = ReplaceBadTagPortion(Tag, "Accapella", "A Cappella")
     Tag = ReplaceBadTagPortion(Tag, "Acappella", "A Cappella")
     Tag = ReplaceBadTagPortion(Tag, "Acapella", "A Cappella")
     Tag = ReplaceBadTagPortion(Tag, "Acapellas", "A Cappellas")     
     
     Tag = ReplaceBadTagPortion(Tag, "  ", " ") 'Too many spaces
     
     FixCommonWords = Tag
End Function

sommo

Re: PersonalTagEnhancer (AutoTagging)

Post by sommo » Sat Jun 28, 2008 10:21 am

Thanks dreadlyone !
Im using that!

sommo

Re: PersonalTagEnhancer (AutoTagging)

Post by sommo » Sat Jun 28, 2008 12:31 pm

I would just like to say a thank you RedX & dreadlyone, for this addon!
This is one of the reasons why I use MediaMonkey!
It is really helpful and I do use it :)
Keep up the good work & Happy coding!

Post Reply