PersonalTagEnhancer (AutoTagging)

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

Moderators: Peke, Gurus

jakash

Re: PersonalTagEnhancer (AutoTagging)

Post by jakash »

Bump. Is there an updated/re-uploaded version of this script available anywhere? Would be very much appreciated.
Thanks in advance.
Diabolic-Destiny
Posts: 223
Joined: Sun Apr 29, 2007 9:45 pm

Re: PersonalTagEnhancer (AutoTagging)

Post by Diabolic-Destiny »

jakash wrote:Bump. Is there an updated/re-uploaded version of this script available anywhere? Would be very much appreciated.
Thanks in advance.
what he said :D
Image
Image
tHe-BiNk

Re: PersonalTagEnhancer (AutoTagging)

Post by tHe-BiNk »

This is what I use. It mostly combines all the previous topics and adds some more.

Code: Select all

Function ChangeCharacters(Tag)
   Tag = Replace(Tag, "_", " ", 1, -1, 1)
   Tag = Replace(Tag, "´", "'", 1, -1, 1)
   Tag = Replace(Tag, "`", "'", 1, -1, 1)
   Tag = Replace(Tag, "/", ";", 1, -1, 1)
   Tag = Replace(Tag, "‘", "'", 1, -1, 1)
   Tag = Replace(Tag, "’", "'", 1, -1, 1) 
   Tag = Replace(Tag, "…", "...", 1, -1, 1)
   
   ChangeCharacters = Tag
End Function

Function FixPunctuation(Tag)
   Tag = Replace(Tag, " ?", "?", 1, -1, 1)
   Tag = Replace(Tag, " !", "!", 1, -1, 1)
   Tag = Replace(Tag, " ,", ",", 1, -1, 1)
   Tag = Replace(Tag, " :", ":", 1, -1, 1)
   Tag = Replace(Tag, " ;", ";", 1, -1, 1)
   Tag = Replace(Tag, " ...", "...", 1, -1, 1)
      
   Tag = ReplaceBadTagPortion(Tag, "  ", " ") 'Too many spaces
      
   FixPunctuation = Tag
End Function

Function FixTrackname(Tag)
     Tag = Replace(Tag, "A1 - ", "")
     Tag = Replace(Tag, "A2 - ", "")
     Tag = Replace(Tag, "B1 - ", "")
     Tag = Replace(Tag, "B2 - ", "")     
     Tag = Replace(Tag, "A1 ", "")
     Tag = Replace(Tag, "A2 ", "")
     Tag = Replace(Tag, "B1 ", "")
     Tag = Replace(Tag, "B2 ", "")     
	 Tag = Replace(Tag, "A1. ", "")
     Tag = Replace(Tag, "A2. ", "")
     Tag = Replace(Tag, "B1. ", "")
     Tag = Replace(Tag, "B2. ", "")     
	 Tag = Replace(Tag, "A1.", "")
     Tag = Replace(Tag, "A2.", "")
     Tag = Replace(Tag, "B1.", "")
     Tag = Replace(Tag, "B2.", "")     
     Tag = Replace(Tag, "A1-", "")
     Tag = Replace(Tag, "A2-", "")
     Tag = Replace(Tag, "B1-", "")
     Tag = Replace(Tag, "B2-", "")     
     Tag = Replace(Tag, "A1", "")
     Tag = Replace(Tag, "A2", "")
     Tag = Replace(Tag, "B1", "")
     Tag = Replace(Tag, "B2", "")       
   FixTrackname = Tag
End Function



Function FixBrackets(Tag)
    Tag = Replace(Tag, "{", "(", 1, -1, 1)
    Tag = Replace(Tag, "}", ")", 1, -1, 1)
    Tag = Replace(Tag, "[", "(", 1, -1, 1)
    Tag = Replace(Tag, "]", ")", 1, -1, 1)
    Tag = Replace(Tag, "( ", "(", 1, -1, 1)
    Tag = Replace(Tag, " )", ")", 1, -1, 1)
	
   FixBrackets = Tag
End Function


Function FixCommonWords(Tag)
     Tag = ReplaceBadTagPortion(Tag, "featuring", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "features", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "feat", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "feat.", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "ft", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "Ft.", "ft.")

     Tag = ReplaceBadTagPortion(Tag, "presenting", "pres.")
     Tag = ReplaceBadTagPortion(Tag, "presents", "pres.")
     Tag = ReplaceBadTagPortion(Tag, "pres", "pres.")
     Tag = ReplaceBadTagPortion(Tag, "Pres.", "pres.")

     Tag = ReplaceBadTagPortion(Tag, "versus", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "vs", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "Vs.", "vs.")
  
	 Tag = ReplaceBadTagPortion(Tag, "(Acapella)", "(A Cappella)")
     Tag = ReplaceBadTagPortion(Tag, "(Acappella)", "(A Cappella)")
     Tag = ReplaceBadTagPortion(Tag, "(Accapella)", "(A Cappella)")
	 
	 Tag = ReplaceBadTagPortion(Tag, "JR", "Jr.")
     Tag = ReplaceBadTagPortion(Tag, "SR", "Sr.")
     Tag = ReplaceBadTagPortion(Tag, "MR", "Mr.")
     Tag = ReplaceBadTagPortion(Tag, "Mrs", "Mrs.")
     Tag = ReplaceBadTagPortion(Tag, "MS", "Ms.")	 
     Tag = ReplaceBadTagPortion(Tag, "DR", "Dr.")
	 Tag = ReplaceBadTagPortion(Tag, "inc", "Inc.")
   
     Tag = ReplaceBadTagPortion(Tag, "dj", "DJ")
     Tag = ReplaceBadTagPortion(Tag, "RMX", "Remix")  
	  
     Tag = ReplaceBadTagPortion(Tag, "Its", "It's")      'Good changes outweigh the bad ones (real "its")
     Tag = ReplaceBadTagPortion(Tag, "Hes", "He's") 
     Tag = ReplaceBadTagPortion(Tag, "Shes", "She's")    
     Tag = ReplaceBadTagPortion(Tag, "Lets", "Let's")
	 Tag = ReplaceBadTagPortion(Tag, "Thats", "That's")
     Tag = ReplaceBadTagPortion(Tag, "Theres", "There's")   
     Tag = ReplaceBadTagPortion(Tag, "Wheres", "Where's")
	   
	 Tag = ReplaceBadTagPortion(Tag, "Itd", "It'd")    
	 Tag = ReplaceBadTagPortion(Tag, "Id", "I'd")      'Good changes outweigh the bad ones (real "ID")
     Tag = ReplaceBadTagPortion(Tag, "Thatd", "That'd")
     Tag = ReplaceBadTagPortion(Tag, "Thered", "There'd")    
     Tag = ReplaceBadTagPortion(Tag, "Whered", "Where'd")
     Tag = ReplaceBadTagPortion(Tag, "Youd", "You'd")
	
	 Tag = ReplaceBadTagPortion(Tag, "Im", "I'm")  
	 
     Tag = ReplaceBadTagPortion(Tag, "dont", "don't")
     Tag = ReplaceBadTagPortion(Tag, "aint", "ain't")
     Tag = ReplaceBadTagPortion(Tag, "isnt", "isn't")
     Tag = ReplaceBadTagPortion(Tag, "cant", "can't")
	 Tag = ReplaceBadTagPortion(Tag, "Couldnt", "Couldn't")
	 Tag = ReplaceBadTagPortion(Tag, "arent", "aren't")
     Tag = ReplaceBadTagPortion(Tag, "wouldnt", "wouldn't")
     Tag = ReplaceBadTagPortion(Tag, "shouldnt", "shouldn't")
     Tag = ReplaceBadTagPortion(Tag, "Doesnt", "Doesn't")  
     Tag = ReplaceBadTagPortion(Tag, "Hadnt", "Hadn't")     
     Tag = ReplaceBadTagPortion(Tag, "Havent", "Haven't")
     Tag = ReplaceBadTagPortion(Tag, "werent", "Weren't")
     Tag = ReplaceBadTagPortion(Tag, "Wont", "Won't")
     Tag = ReplaceBadTagPortion(Tag, "didnt", "didn't")
     Tag = ReplaceBadTagPortion(Tag, "wasnt", "wasn't")
	 
     Tag = ReplaceBadTagPortion(Tag, "couldve", "could've")	 
     Tag = ReplaceBadTagPortion(Tag, "wouldve", "would've")
     Tag = ReplaceBadTagPortion(Tag, "shouldve", "should've")
	 Tag = ReplaceBadTagPortion(Tag, "Weve", "We've")     
	 Tag = ReplaceBadTagPortion(Tag, "Ive", "I've") 
     Tag = ReplaceBadTagPortion(Tag, "youve", "you've")
   
	 Tag = ReplaceBadTagPortion(Tag, "ill", "i'll")      'Good changes outweigh the bad ones (real "ill")
	 Tag = ReplaceBadTagPortion(Tag, "Youll", "You'll")
     Tag = ReplaceBadTagPortion(Tag, "Itll", "It'll")  	
     Tag = ReplaceBadTagPortion(Tag, "Thatll", "That'll")	
	 
     Tag = ReplaceBadTagPortion(Tag, "Theyre", "They're")  
     Tag = ReplaceBadTagPortion(Tag, "Youre", "You're")   	 
	 
     Tag = ReplaceBadTagPortion(Tag, "Havin", "Havin'")
     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, "Callin", "Callin'")
	 Tag = ReplaceBadTagPortion(Tag, "Chillin", "Chillin'")
     Tag = ReplaceBadTagPortion(Tag, "Clubbin", "Clubbin'")
     Tag = ReplaceBadTagPortion(Tag, "Catchin", "Catchin'")
     Tag = ReplaceBadTagPortion(Tag, "Cryin", "Cryin'")
     Tag = ReplaceBadTagPortion(Tag, "Dancin", "Dancin'")
	 Tag = ReplaceBadTagPortion(Tag, "feelin", "feelin'")
     Tag = ReplaceBadTagPortion(Tag, "findin", "findin'")
     Tag = ReplaceBadTagPortion(Tag, "Doin", "Doin'")
     Tag = ReplaceBadTagPortion(Tag, "Drankin", "Drankin'")
     Tag = ReplaceBadTagPortion(Tag, "Dreamin", "Dreamin'")
     Tag = ReplaceBadTagPortion(Tag, "Drinkin", "Drinkin'")
     Tag = ReplaceBadTagPortion(Tag, "Duckin", "Duckin'")	
     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, "Hangin", "Hangin'")	 
     Tag = ReplaceBadTagPortion(Tag, "Hittin", "Hittin'")
     Tag = ReplaceBadTagPortion(Tag, "Hustlin", "Hustlin'")
	 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, "Lil", "Lil'")
     Tag = ReplaceBadTagPortion(Tag, "Livin", "Livin'")     
     Tag = ReplaceBadTagPortion(Tag, "Lookin", "Lookin'")
     Tag = ReplaceBadTagPortion(Tag, "Losin", "Losin'")
     Tag = ReplaceBadTagPortion(Tag, "Lovin", "Lovin'")
     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, "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, "Pushin", "Pushin'")
     Tag = ReplaceBadTagPortion(Tag, "Rappin", "Rappin'")
     Tag = ReplaceBadTagPortion(Tag, "Ridin", "Ridin'")
     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, "Storytellin", "Storytellin'")
     Tag = ReplaceBadTagPortion(Tag, "Strugglin", "Strugglin'")
     Tag = ReplaceBadTagPortion(Tag, "Survivin", "Survivin'")
     Tag = ReplaceBadTagPortion(Tag, "Swingin", "Swingin'")
     Tag = ReplaceBadTagPortion(Tag, "Talkin", "Talkin'")
     Tag = ReplaceBadTagPortion(Tag, "Testin", "Testin'")
     Tag = ReplaceBadTagPortion(Tag, "Thinkin", "Thinkin'")
     Tag = ReplaceBadTagPortion(Tag, "Thuggin", "Thuggin'")
     Tag = ReplaceBadTagPortion(Tag, "Timin", "Timin'")
     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, "Workin", "Workin'")
     Tag = ReplaceBadTagPortion(Tag, "Waitin", "Waitin'")	 
	 
     FixCommonWords = Tag
End Function
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Re: PersonalTagEnhancer (AutoTagging)

Post by RedX »

Updated it to make it compatible with user mode in MM4.

PersonalTagEnhancerMM4.mmip

Regards, RedX
Peke
Posts: 17484
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: PersonalTagEnhancer (AutoTagging)

Post by Peke »

Good one RedX, thx.

Small Request PLZ. One more function that will create common Multi Artist tracks EG these to be replaced with ";" For example.

Code: Select all

     Tag = ReplaceBadTagPortion(Tag, "featuring", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "features", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "feat", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "feat.", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "ft", "ft.")
     Tag = ReplaceBadTagPortion(Tag, "Ft.", "ft.")

     Tag = ReplaceBadTagPortion(Tag, "presenting", "pres.")
     Tag = ReplaceBadTagPortion(Tag, "presents", "pres.")
     Tag = ReplaceBadTagPortion(Tag, "pres", "pres.")
     Tag = ReplaceBadTagPortion(Tag, "Pres.", "pres.")

     Tag = ReplaceBadTagPortion(Tag, "versus", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "vs", "vs.")
     Tag = ReplaceBadTagPortion(Tag, "Vs.", "vs.")
 
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Re: PersonalTagEnhancer (AutoTagging)

Post by RedX »

Hey Peke,

Since i don't use/like this "feature" of MediaMonkey in it's current implementation, i won't be adding this to the installer, but you can just modify the script yourself.

IMHO, MediaMonkey should use words like feat., vs., etc to extract the multiple artist information.

Regards,
RedX
Guest

Re: PersonalTagEnhancer (AutoTagging)

Post by Guest »

Hello,

I'm a French user of MediaMonkey, and I would to make some changes on my tags ! I've got a lot of artist titles likes "Anthony B. ; Jah Mason" for example, and I would to change it in "Anthony B. ft Jah Mason". I just wanna know how that script must be used, because I don't know, and I seach into the topic with no success. :-?

Thank you and sorry for my poor english :D
Peke
Posts: 17484
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: PersonalTagEnhancer (AutoTagging)

Post by Peke »

@RedX
Although I'm sad about the feature. You have the point as that is the exact reason I asked for it. The main Problem would be Standards that needs to be followed where for example ";" is standard for multi Artists in MP3s.

Still a great plugin.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
WimYogya
Posts: 329
Joined: Fri Jun 17, 2011 2:21 am
Location: Yogyakarta/Indonesia

Re: PersonalTagEnhancer (AutoTagging)

Post by WimYogya »

@redx and others:
Very new on MM, so don't understand too much about the discussion in this thread. Don't know anything about scripting in fact.
Just came across this thread when looking for the latest version of personaltagenhancer.
Found redx update personaltagenhancerMM4.mmip, downloaded and installed it, but got an error message that i don't remember.
After restarting - I don't use MM4 but 3, does that cause the trouble? - the script was in the MM script list, but using it on few records for testing purposes only made MM hang every time.
Various questions:
1.
Is this MM4 version compatible with my MM3?
2.
If not, how do I get rid of it? In other words: how to uninstall a script? Cannot find that.
3.
If this version IS compatible, how to make it work properly?
4.
The script's tooltip sayes it fixes most tags based upon personal preferences. Whose preferences? Mine? Then how you configure it? Or the writer's preferences? In that case how do I find out what it exactly does?
5.
Is there an alternative if I can't work with this version? I cannot find an earlier personaltagenhander.mmip
6.
In the same thread I read the-Hunk's May 7, 2010 posting about an alternative script. Some content is clear to me, other not at all. But more essential: I have no clue how to 'pack this script into my MM' and how to control it if unexpected changes happen to my tracks...

Sorry If I ask too much or if my questions sound stupid. Experts often have no idea what happens to older simple users like me when starting to google to find computer solutions: we enter a bewildering jungle full of unknown terms, expressions, procedures, links. So confusing! Impossible to master it all. Sorry.
And thanks for any guidance!

Wim/67/Indonesia

PS
I already submitted my post but it didn't go through, I think. So this is the THIRD attempt
Wim - 67 - Dutchman in Yogyakarta/Indonesia
Acer Aspire 6935 - Intel Core 2 Duo P8400, 2.26 GHz, 4 GB Ram DDR3, 320 GB hard disk, 1 CD/DVD-writer, 3 external drives (3Tb + 1Tb + 1Tb) - Windows 7 Ultimate - MM4.0.6.1498 debug and updating if necessary
h00bah00ba
Posts: 3
Joined: Sat Dec 31, 2011 8:02 pm

Re: PersonalTagEnhancer (AutoTagging)

Post by h00bah00ba »

Hi, I've an issue with running PersonalTagEnhancer after upgrading to MM4.

When I issue PTE from the "Tools" > "Scripts" menu it gives me an error:
"Error happened during script initialization: a script engine for the specific language can not be created."

This is *not* related to VBS scripts not properly being registered as other VBS scripts run fine (e.g. "Swap Artist and Title").

System: WinXP, MM4. Have been running PTE since ages without probs. I've tried it under both admin and normal user accounts. After re-installing MM3.2.2 again all is working again.

Any idea what this could be due to???

Thansk for any help and happy 2012, h00ba
h00bah00ba
Posts: 3
Joined: Sat Dec 31, 2011 8:02 pm

Re: PersonalTagEnhancer (AutoTagging)

Post by h00bah00ba »

h00bah00ba wrote:Hi, I've an issue with running PersonalTagEnhancer after upgrading to MM4.

When I issue PTE from the "Tools" > "Scripts" menu it gives me an error:
"Error happened during script initialization: a script engine for the specific language can not be created."
Soooo, I'll solve this little puzzle myself then..

The error msg was quite misleading - turned out I had installed MM4 over MM3 to save myself reinstalling the scripts. Worked well from MM2 to MM3, but not this time. Full uninstall of MM3 and deleting the folder, then a clean install of MM4 and PTE did the trick.

HTH, h00ba
zuilserip
Posts: 34
Joined: Wed Feb 22, 2012 8:00 pm

Re: PersonalTagEnhancer (AutoTagging)

Post by zuilserip »

Ok - here is a very naive question... this script seems amazingly helpful and I've downloaded it and it seems to run just fine.

But... how can I tailor it to my needs? I understand that I need to edit the actual code to adjust preferences, but I can't seem to find the source file after I install the MM4 version. I went to the MediaMonkey directory and checked in the Scripts and Scripts/Auto folders.

Where does the installer put the script? What file name? Am I looking in the wrong places? What should I be looking for so that I can edit to change the behavior of this script?

Thanks!
h00bah00ba
Posts: 3
Joined: Sat Dec 31, 2011 8:02 pm

Re: PersonalTagEnhancer (AutoTagging)

Post by h00bah00ba »

zuilserip wrote:... how can I tailor it to my needs? I understand that I need to edit the actual code to adjust preferences, but I can't seem to find the source file after I install the MM4 version. I went to the MediaMonkey directory and checked in the Scripts and Scripts/Auto folders.

Where does the installer put the script? What file name? Am I looking in the wrong places? What should I be looking for so that I can edit to change the behavior of this script?
I'll try a semi-helpful guesswork answer as I'm far from my Audio-PC right now.

The PTE installation (has to be installed after you installed MM4) should lead to a PersonalTagEnhancer.vbs file somewhere in your path; the scripts subdir would make sense. Maybe search for the file directly.

The PTE installer file I think I remember is just a renamed zip file, so you could unpack it by hand, place the PersonalTagEnhancer.vbs into the scripts dir and edit the scripts.ini by hand. Worked for MM3, should also for MM4 (but I may be wrong there..)

Cheers, h00ba
zuilserip
Posts: 34
Joined: Wed Feb 22, 2012 8:00 pm

Re: PersonalTagEnhancer (AutoTagging)

Post by zuilserip »

Thanks h00ba,

I've now been able to find the script and configure it a bit. It is extremely helpful, even if it is awkward to have to make the changes into the program itself.

I just posted a request in a different thread that may be even more relevant in this thread.

The request was for a script - or maybe an adaptation of the Personal Tag Enhancer script - that I think would solve lots of related and annoying standardization issues.

Specifically, the issue I am personally trying to address, is that I have a number of artists, composers, conductors, etc. that are present in my database with different spellings (e.g. 'Mozart' , 'W.A. Mozart', 'Mozart, Wolfgang', etc.). Same thing with Genres (e.g., Rock, Rock n' Roll, Rock and Roll, Rock & Roll, etc.), etc. I periodically go through and fix all the issues I find, but I continue to run into inconsistencies. Particularly when importing new music into the library.

I think it would be incredibly helpful (and extremely versatile), to be able to create a very simple 'mapping' file, that would be read by a script and used to standardize specific fields. From that, a single click would accomplish a huge number of standardization tasks.

i.e., create a plain text 'preferences' file with something like this: (note - casesensitive could be used to specify whether matches should take case into account, and partialmatch determine whether to match part of the existing field or insist on a full match.)

#IF <artist, album artist, composer> <casesensitive=OFF, partialmatch=ON>
"Mozart", "W.A. Mozart", "Mozart, Wolfgang", "Wolfgang A. Mozart" -> "Wolfgang Amadeus Mozart"
"Rolling Stones", "Rolling Stones, The", "The Stones", "Stones" -> "Rolling Stones"
"ELP", "Emerson Lake and Palmer", "Emerson, Lake and Palmer", "Emerson, Lake & Palmer" -> "Emerson Lake & Palmer"
#ENDIF

#IF <genre> <casesensitive=OFF, partialmatch=ON>
"Rock", "Rock n' Roll", "Rock n Roll", "Rock and Roll", "General Rock" -> "Rock & Roll"
#ENDIF

#IF <lyrics> <casesensitive=OFF, partialmatch=OFF>
"instrumental", "no lyrics" -> "[Instrumental]"
#ENDIF

#IF <mood> <casesensitive=OFF, partialmatch=ON>
"joyful", "cheerful", "fun" -> "happy"
"morose", "sad", "brooding", "wistful", "bittersweet" -> "sad"
#ENDIF

#IF <quality> <casesensitive=OFF, partialmatch=OFF>
"perfect", "excellent", "great" -> "very good"
"garbage", "terrible", "awful" -> "poor"
#ENDIF

#IF <track#> <casesensitive=OFF, partialmatch=OFF>
"01" -> "1"
"02" -> "2"
"03" -> "3"
...
Post Reply