Page 33 of 67

Re: Genre Finder 4.0 [MM2+3]

Posted: Mon Jul 27, 2009 11:54 am
by Vyper
Firewall/anti-virus/anti-spyware are all possibilities.

Re: Genre Finder 4.0 [MM2+3]

Posted: Mon Jul 27, 2009 4:24 pm
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.

Re: Genre Finder 4.1 [MM2+3]

Posted: Mon Aug 03, 2009 5:45 pm
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.

Re: Genre Finder 4.1 [MM2+3]

Posted: Tue Aug 04, 2009 11:17 am
by Vyper
Cool beans. :D

Re: Genre Finder 4.1 [MM2+3]

Posted: Thu Aug 06, 2009 1:30 pm
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.

Re: Genre Finder 4.1 [MM2+3]

Posted: Thu Aug 06, 2009 5:00 pm
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! :-?

Re: Genre Finder 4.1 [MM2+3]

Posted: Thu Aug 06, 2009 6:49 pm
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?

Re: Genre Finder 4.1 [MM2+3]

Posted: Fri Aug 07, 2009 3:45 am
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

Re: Genre Finder 4.1 [MM2+3]

Posted: Fri Aug 07, 2009 8:20 am
by Vyper
Should we all do that or just folks who are having this same problem? :)

Re: Genre Finder 4.1 [MM2+3]

Posted: Fri Aug 07, 2009 11:05 am
by Aidan
It works perfectly now, thanks!

Re: Genre Finder 4.1 [MM2+3]

Posted: Fri Aug 07, 2009 9:25 pm
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.

Re: Genre Finder 4.1 [MM2+3]

Posted: Sun Sep 20, 2009 10:54 am
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!

Re: Genre Finder 4.1 [MM2+3]

Posted: Mon Sep 21, 2009 3:53 am
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.

Re: Genre Finder 4.1 [MM2+3]

Posted: Tue Sep 22, 2009 5:38 am
by Gizzmo
Well then kudos to Last.FM!
I never cared much about genres, but now I'm really beginning to like them :)

Re: Genre Finder 4.1 [MM2+3]

Posted: Sun Sep 27, 2009 6:29 am
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