Genre Finder 5.0 - Updated 05/08/2012

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

Moderators: Peke, Gurus

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

This is a more complex version of a previous suggestion. I've got an idea which I'll try to implement for the next version! :)
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.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

New version (2.0) is now available from my website. This list of changes is small, but the update is HUGE...

- Added translation option to whitelist
- Added run mode options "Albums" and "Artists"
- Added extra log level with even more messaging
- Added options to update multiple fields at once

The translation is done by having an equals (=) in the list, like this... "Pop,RandB=RnB,Rock".

Running this script with the log level above 1 will seriously slow down the process, leave it at 0 unless you wish to have a trace of what the script updated.

The album mode loops through all the tracks until there is a concensus, which is often after 2 or 3 tracks so it is normally quicker and means that all tracks are tagged with the same genre.
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.
durden999uk
Posts: 91
Joined: Sun Apr 23, 2006 6:18 pm
Location: England

Post by durden999uk »

Hey trix, this looks great, especially the option to tag artist or album as well as individual tracks. Looking forward to giving it a try later today... :D
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Post by Vyper »

Okay, what am I doing wrong? I can't make it put anything in the Genre field.

In the options, I have the genre field selected and none for white/black lists.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

That's very strange. Which mode are you using? Maybe you could set your log level to 3 and email me the logfile?
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.
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Post by Vyper »

Here are my settings (before I changed the logfile setting):


Image


Logfile on its way.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Looking at your logfile I can see that the script is working perfectly, however your artist "5th Dimension (The)" is not recognised by Last.Fm so the script is getting no results. Renaming the artist to "The 5th Dimension" does return results, but this probably isn't what you want to hear! :)

I might have to see if I can come up with a set of rules which helps to "fix" artists like this before making the call to Last.Fm.
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.
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Post by Vyper »

Cool. Thanks for checking it out for me and letting me know what the problem was. :D
Big_Berny
Posts: 1784
Joined: Mon Nov 28, 2005 11:55 am
Location: Switzerland
Contact:

Post by Big_Berny »

Isn't this script anymore supported by MM 3.0? 1.1 worked fine...
Image
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Nope, sorry. I needed to use SQL to update all the tracks by the artist, or on the album, so now it is not compatible. Well, the Tracks mode should be.
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.
durden999uk
Posts: 91
Joined: Sun Apr 23, 2006 6:18 pm
Location: England

Post by durden999uk »

The script works brilliantly trix, and I'm not left with a different genre per track as with earlier versions. One comment: the approximate times given (for tagging based on artist, anyway) are quite inaccurate. They are based on the assumption that there will be one track per artist, which of course is not the case. So the 15 mins for 861 artists was more like 3 hours. Not a complaint, but maybe something small to tweak in a later version. That aside, great work and thanks again.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

I should actually take this warning out completely. It's calculated based on the fact that the script limits the queries to Last.Fm to only one per second - this is so that they don't ban your IP address for overloading their server. However, now there is so much processing done in the background that it's very rare that the script is ever delayed by this fact, and I can't estimate the processing time! :)
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.
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

Post by Eyal »

Excellent script Trixmoto.
Just what I was looking for.

Thank you.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Glad you like! :D
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.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

New version (2.1) is now available to download from my website.

I've removed the time warning as this was so inaccurate. I've also updated the method used to encode the Last.Fm query so more results should be found, especially with "foreign" artists.
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.
Post Reply