Genre Finder 5.0 - Updated 05/08/2012

Download and get help for different MediaMonkey 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 » Mon Jul 27, 2009 11:54 am

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

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: Barton, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto » Mon Aug 03, 2009 5:45 pm

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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

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

Re: Genre Finder 4.1 [MM2+3]

Post by Vyper » Tue Aug 04, 2009 11:17 am

Cool beans. :D
Stop Button Freak

Aidan

Re: Genre Finder 4.1 [MM2+3]

Post by Aidan » Thu Aug 06, 2009 1:30 pm

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: Barton, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto » Thu Aug 06, 2009 5:00 pm

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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Aidan

Re: Genre Finder 4.1 [MM2+3]

Post by Aidan » Thu Aug 06, 2009 6:49 pm

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: Barton, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto » Fri Aug 07, 2009 3:45 am

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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

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

Re: Genre Finder 4.1 [MM2+3]

Post by Vyper » Fri Aug 07, 2009 8:20 am

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 » Fri Aug 07, 2009 11:05 am

It works perfectly now, thanks!

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

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto » Fri Aug 07, 2009 9:25 pm

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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Gizzmo
Posts: 59
Joined: Wed Feb 25, 2009 6:40 pm
Location: Germany

Re: Genre Finder 4.1 [MM2+3]

Post by Gizzmo » Sun Sep 20, 2009 10:54 am

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: Barton, UK
Contact:

Re: Genre Finder 4.1 [MM2+3]

Post by trixmoto » Mon Sep 21, 2009 3:53 am

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.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Gizzmo
Posts: 59
Joined: Wed Feb 25, 2009 6:40 pm
Location: Germany

Re: Genre Finder 4.1 [MM2+3]

Post by Gizzmo » Tue Sep 22, 2009 5:38 am

Well then kudos to Last.FM!
I never cared much about genres, but now I'm really beginning to like them :)

limex
Posts: 64
Joined: Sat Oct 22, 2005 10:29 am
Location: Vienna / Austria

Re: Genre Finder 4.1 [MM2+3]

Post by limex » Sun Sep 27, 2009 6:29 am

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