Genre Finder 5.0 - Updated 05/08/2012

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

Moderators: Peke, Gurus

Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Re: Genre Finder 4.0 [MM2+3]

Post by Vyper »

Firewall/anti-virus/anti-spyware are all possibilities.
Stop Button Freak
barefaced
Posts: 6
Joined: Fri Jun 27, 2008 1:28 pm

Re: Genre Finder 4.0 [MM2+3]

Post by barefaced »

Vyper wrote:Firewall/anti-virus/anti-spyware are all possibilities.
Nice one, thanks. Added site to Firewall site exceptions and that did the trick.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto »

New version (4.1) is now available to download from my website. Changes include...

- Fixed problems with local searches
- Fixed webservice calls to use better method
- Fixed ampersand (&) characters not working in query strings
- Added option to specify minimum match value (again!) - this only works for artist and track modes
- Added ability to use + and - in modified lists (by using ++ and --) - for example to include all current values plus "R+B" the whitelist would be "*+R++B"

This release is designed to fix the known issues. All the request enhancements are still on my list for the next version of this script.
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

Re: Genre Finder 4.1 [MM2+3]

Post by Vyper »

Cool beans. :D
Stop Button Freak
Aidan

Re: Genre Finder 4.1 [MM2+3]

Post by Aidan »

I'm running into a problem with Genre Finder 4.1. Every time I try and run it, I end up with this error:

Error #457 - Microsoft VBScript runtime error
This key is already associated with an element of this collection
File: "C:\Program Files\MediaMonkey\Scripts\Auto\GenreFinder.vbs", Line: 466, Column: 8

Any help would be appreciated.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto »

Well theoretically this is impossible, it means that an item is trying to be adding to the cache twice, but as the cache is checked before hand the only way I can think that you've managed this is by running the script twice at the same time, except that this should also be impossible! :-?
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.
Aidan

Re: Genre Finder 4.1 [MM2+3]

Post by Aidan »

Wow, um, ok.... Well, is there anything I can do to maybe give you some ideas on how to fix this? Or should I just give up on Genre Finder?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto »

Well I guess you'll need to delete the previous cached value before trying to add the new one. Open "GenreFinder.vbs" in a text editor and find lines 459-468...

Code: Select all

  Select Case run
    Case "albums"
      If Not (alb = "") Then
        Call cac.Add("Album"&alb,dic)
      End If
    Case "artists"
      If Not (aid = "") Then
        Call cac.Add("Artist"&aid,dic)
      End If
  End Select 
...and replace them with this...

Code: Select all

  Select Case run
    Case "albums"
      If Not (alb = "") Then
        If cac.Exists("Album"&alb) Then
          Call cac.Remove("Album"&alb)
        End If       
        Call cac.Add("Album"&alb,dic)
      End If
    Case "artists"
      If Not (aid = "") Then
        If cac.Exists("Artist"&aid) Then
          Call cac.Remove("Artist"&aid)
        End If      
        Call cac.Add("Artist"&aid,dic)
      End If
  End Select
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

Re: Genre Finder 4.1 [MM2+3]

Post by Vyper »

Should we all do that or just folks who are having this same problem? :)
Stop Button Freak
Aidan

Re: Genre Finder 4.1 [MM2+3]

Post by Aidan »

It works perfectly now, thanks!
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto »

Well you can if you want, but there's no need to! :) I'm glad this has worked, I'll add this to 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.
Gizzmo
Posts: 59
Joined: Wed Feb 25, 2009 6:40 pm
Location: Germany

Re: Genre Finder 4.1 [MM2+3]

Post by Gizzmo »

Well, thats interesting.

I ran the script out of the Box, and it found mostly crap like "Most Awesome Song Ever Written" or "Woooooooohaaaaa" or "2007" and other random nonsense.

Then I ran the script with "Genre | White | A pretty long list of genres I want to be tagged" and set the minimum match to 5 and mode to Artist.
That only found Rock or nothing, but almost everything was meant to be rock.

Now I had the glorious idea to set it to "Genre | Black | *" just to see if it will empty all my genre-tags, because what else should happen if everything is blacklisted.
But what do you know, it started immediately to find the absolutely correct genre for every band!!

Now I am confused, but impressed and it absolutely made my day :)

Thanks triximoto!

P.S.: If anyone has an explanation why exactly Artist, minimum match=5 and "Genre | Black | *" turned out to be the exact opposite than I thought it was, shoot!
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto »

Using "Genre | Black | *" is the same as using "Genre | None | ". The "*" only works with the whitelist, so what you have said is use every genre except "*", which is unlikely to feature as a 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.
Gizzmo
Posts: 59
Joined: Wed Feb 25, 2009 6:40 pm
Location: Germany

Re: Genre Finder 4.1 [MM2+3]

Post by Gizzmo »

Well then kudos to Last.FM!
I never cared much about genres, but now I'm really beginning to like them :)
limex
Posts: 65
Joined: Sat Oct 22, 2005 10:29 am
Location: Vienna / Austria

Re: Genre Finder 4.1 [MM2+3]

Post by limex »

trixmoto wrote: - Added option to specify minimum match value (again!) - this only works for artist and track modes
Could someone explain what this setting does? THX
Post Reply