Genre Finder

    • MikeManger a dit :...
    • Utilisateur
    • 18 mai 2007, 19h54m

    Genre Finder

    OK so I needed a project for my A levels and I thought I'd make one by nabbing some feeds from

    It basically shows you what 'percentage' of a certain tag (or, as I put in the write up, genre) you are.

    Site and here is the direct link to newest version (~130kb, 0.2.2 - at time-of-posting)

    Windows (tested on XP and Vista) - no mac/*nix version sorry!
    Microsoft's .NET Framework 2 (or higher)

    To install: copy .exe to a suitable directory (although desktop will do) and run.

    To un-install just delete the 'data' folder, the '.config' file and the .exe.


    I'm going to post up a set of todos and known issues soon, although I'm fairly certain that this one wont crash*.

    *Note: that may be a lie. ;)

    cheers, mike

    Modifié par MikeManger le 12 août 2008, 16h36m
    • Ton87 a dit :...
    • Utilisateur
    • 27 mai 2007, 23h24m
    I get the following error when I try to open the program:
    The application failed to initialize properly (0xc0000135)

  • Crazy.. What version of the .NET framework do you have? I'm 99% certain that it requires 2.something, but I'm thinking of removing any links with that - or just make it so that you only need the 1st one.

    I can't test it out as I have .NET 3.


    • Ton87 a dit :...
    • Utilisateur
    • 28 mai 2007, 12h31m
    Where can I see which version my PC has got?

    • MikeManger a dit :...
    • Utilisateur
    • 28 mai 2007, 16h43m
    Best way that comes to mind is:
    'Go to your Control Panel
    'Wait windows to find everything...
    'On the default tab (change or remove programs..) hunt for the entry 'Microsoft .NET Framework SOMETHING'.
    '(if)After you find it, don't go un-installing it or anything. ;)


    EDIT: I'm pretty certain that you don't have the .NET Framework installed at all, normally it'll give you a more constructive error when it is installed but an older version (0xc0000135 doesn't sound too constructive to me!).

    I'll make a mental note and update the site.. of course, -if- you want to install .NET 2.0 it would be nice to see if that fixes it.

    • Kimik0 a dit :...
    • Utilisateur
    • 1 juin 2007, 15h09m
    Is there an online version of this thing? I don't have Windows..

    Kimiko (希身子)

    • MikeManger a dit :...
    • Utilisateur
    • 2 juin 2007, 12h02m
    Kimik0 said:
    Is there an online version of this thing? I don't have Windows..

    No, not currently.. but I've tried removing all references to .net and running it with wine, which seemed to almost work.

    The 2.0 .NET API of Mono is actually mostly complete, so I'll have a look at that in due course.

    • [Utilisateur supprimé] a dit :...
    • Utilisateur
    • 10 juin 2007, 0h16m
    Hm.. I'm only 24.1% rock... WAAAAAAI

    On a serious note, wow, that's a really good idea. And very well materialized.

    • [Utilisateur supprimé] a dit :...
    • Utilisateur
    • 10 juin 2007, 16h29m
    excellent little prog there mate - really nice idea for those curious to know...

    dave is:

    11.8% metal!
    0.1% pop
    0.0% gay

    thats great to know :)

    • MikeManger a dit :...
    • Utilisateur
    • 10 juin 2007, 21h31m
    Cheers. :D

    I've added a tun of new stuff for the next version, its 99% done - just one very annoying bug which I plan to fix after my exams (20th June-ish).

    (Perhaps) the best new - quite possibly original - feature is the inclusion of an (editable) blacklist.. this means that offensive tags and the ultimate non-genre tag 'seen live' (which is incredibly the second most used tag here on L.F) are removed from the results to give a more actuate percentage.

    • wonder_al a dit :...
    • Utilisateur
    • 21 juin 2007, 3h12m
    It goes kaboom when it hits "Weird Al" Yankovic.

    • MikeManger a dit :...
    • Utilisateur
    • 21 juin 2007, 15h10m
    wonder_al said:
    It goes kaboom when it hits "Weird Al" Yankovic.

    Thanks, simple fix for that coming into the next version.

    • Ton87 a dit :...
    • Utilisateur
    • 1 jui. 2007, 17h19m
    Hey man, I forgot all about it!

    I had no .net framework installed. I've just installed .net 2 and now I can open the program.

    • Ton87 a dit :...
    • Utilisateur
    • 1 jui. 2007, 17h40m
    Too bad the program crashes on every special character. It won't go further than my 24th artist, Big Brother & The Holding Company. I hope you'll fix it soon, 24 is way too few to calculate a representative percetage. But I think even 50 is not enough, why is it actually limited?

    • [Utilisateur supprimé] a dit :...
    • Utilisateur
    • 2 jui. 2007, 10h55m
    Well I don't know why, but every time I set the artist number to more than the default (25) the program hangs...

    • MikeManger a dit :...
    • Utilisateur
    • 2 jui. 2007, 18h17m
    In short: I need to do more testing before releases. Which is why it has being a while since I updated. :-)

    Ton87 said:
    Too bad the program crashes on every special character. It won't go further than my 24th artist, Big Brother & The Holding Company. I hope you'll fix it soon, 24 is way too few to calculate a representative percetage. But I think even 50 is not enough, why is it actually limited?

    New version fixes the '&' character problem as well as the '"' one.

    50 artists is, sadly, the limit of's .xml feed(s). I know that some people have found work-arounds, but they require a lot more processing.

    I have, however, made a sort of 'half' work-around for this problem - allowing you to select which charts you want to use (e.g. overall (default), 12/6/3 monthly).

    Another way of evening things out is an (optional) algorithm that takes into account how many plays an artist has. But this has delayed me releasing (coding is fun...).

    @Neotrunxas: I'm 90% certain that this is a school-boy-error on my part and is already fixed for the next version. Better connection 'time-out' handling is also coded in.

    Cheers for the feed back.

    • MCRKelly a dit :...
    • Utilisateur
    • 8 jan. 2008, 17h14m
    I have downloaded everything but I don't understand how to start it?

    • MikeManger a dit :...
    • Utilisateur
    • 29 fév. 2008, 12h49m
    So just saw this on the new build part of and I'm motivated to take another look at the code when I go home for Easter break.

    MCRKelly: there is only one file you need to download: just run (click) on the .exe then enter a (your) username in the top box and a gener in the lower box. I think some of the UI (e.g. 'enter your username here') is lost in Vista. I'll look at a possible start menue installer.

    • Henk_Poley a dit :...
    • Utilisateur
    • 19 mars 2008, 10h01m

    Tried to run this on OS X with Mono 1.9

    The program runs, you can enter your name and a genre. But crashes when you hit the button. Trace:

    poley:Downloads henk$ mono GenrePercentage_Current.exe
    2008-03-19 10:59:14.156 mono[690:10b] WARNING: CFSTR("Downloading artist/Fr\37777777703\37777777651d\37777777703\37777777651ric Chopin/toptags.xml") has non-7 bit chars, interpreting using MacOS Roman encoding for now, but this will change. Please eliminate usages of non-7 bit chars (including escaped characters above \177 octal) in CFSTR().

    Unhandled Exception: System.InvalidCastException: Cast to type 'Currency' is not valid.
    at Microsoft.VisualBasic.Strings.FormatNumber (System.Object Expression, Int32 NumDigitsAfterDecimal, TriState IncludeLeadingDigit, TriState UseParensForNegativeNumbers, TriState GroupDigits) [0x00000]
    at GenrePercentage.Main.GetGenres () [0x00000]
    at (wrapper remoting-invoke-with-check) GenrePercentage.Main:GetGenres ()
    at GenrePercentage.Main.GoCMB_Click (System.Object sender, System.EventArgs e) [0x00000]
    at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000]
    at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000]
    at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000]
    at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000]
    at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000]
    at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000]
    at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000]
    at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000]
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000]
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
    at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]
    at System.Windows.Forms.XplatUICarbon.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
    at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
    at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000]
    at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000]
    at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000]
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000]
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000]
    at GenrePercentage.My.MyApplication.Main (System.String[] Args) [0x00000]

    • Alexy05 a dit :...
    • Utilisateur
    • 4 avr. 2008, 13h24m
    good work !!

    33,4% rock
    7,2% folk
    6% pop
    1,9% hard rock
    1,4% indie
    0,5% metal

    Live fast, love hard, die young ...

    Be yourself, by yourself...
    • [Utilisateur supprimé] a dit :...
    • Utilisateur
    • 30 oct. 2008, 22h36m
    WOW. I don't think this program could be anymore useless. Maximum 50 artists? What's the point?

    • MikeManger a dit :...
    • Utilisateur
    • 1 nov. 2008, 15h27m
    ha thanks for that matey! Shame's API wont just 'give' you your 860 unique artists that you listen to day in day out.

    Anyway I'm going to implement which should address that issue.


    • s_ergiu23 a dit :...
    • Utilisateur
    • 23 nov. 2008, 16h13m
    I am 36.8% rock
    Rage Against the Machine Alice in Chains Bloodhound Gang Nirvana Jimi Hendrix KoЯn Faithless Guns N' Roses H-Blockx Billy Idol

    • yerdumb666 a dit :...
    • Utilisateur
    • 30 déc. 2008, 8h30m used about my top 10 artists, most of which i removed from my library because it was out of date. so pretty useless for me.

  • hey,

    how about something that just tells you what your top genres are?
    that would be pretty cool.
    (or maybe there's already something here, I might just be being stupid)

    but have to say I'm impressed, I don't reckon I would have known how to do that when I was doing my A levels!

Les utilisateurs anonymes ne peuvent pas poster de messages. Merci de vous connecter ou de créer un compte pour pouvoir intervenir dans les forums.