Genre Finder 5.0 - Updated 05/08/2012

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Wed Nov 28, 2012 10:07 am

Blutarsky wrote:I see MusicBrainz last.fm plus plugin using this approach. A custom tag ("Grouping") containing the main genre (not necessary IMO, but could be handy for future use) and the classic "Genre" tag holding multiple values; here the user is given an opportunity to stick the main genre as the leftmost value....
Trixmoto, do you think in the future your script could work this way? This is how MusicBrainz works:
- optional: main genre grouping (custom tag)
- optional: within multiple genres, the leftmost value is the main genre, the subsequent genres, are sub genres

Image

Very powerful, BTW the developer of MB version of the script adds picking up the decade, so your rich Ganre tag will hold, for example: Rock, Progressive Rock, Psychedelic Rock; 80s

What do you think?

P.S. - MusicBrainz sources are written in Python, shouldn't be very difficult to translate to VBScript....

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

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by trixmoto » Thu Nov 29, 2012 6:46 am

Is there some specific functionality you want adding to this script, or do you just want me to re-write it like someone else's?
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.

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Thu Nov 29, 2012 7:36 am

trixmoto wrote:Is there some specific functionality you want adding to this script, or do you just want me to re-write it like someone else's?
Well, it would be great to add:
- optional: main genre grouping (custom tag)
- within multiple genres, the leftmost value is the main genre, the subsequent genres, are sub genres
- Choice to lookup for the decade, storing it in the genre field;

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

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by trixmoto » Mon Dec 03, 2012 6:44 am

1) From Last.Fm, how would the main genre be determined? The most popular one?

2) I'm not sure how this affects the script, but based on the assumption above (the most popular one is the main one) then this is already how the script works, as it processes the results in descending order of popularity (the most popular first).

3) If you include the decades in your white list then you should find this already works, most tracks on Last.Fm are tagged with the decade, in my experience.
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.

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Mon Dec 03, 2012 10:04 am

trixmoto wrote:1) From Last.Fm, how would the main genre be determined? The most popular one?

2) I'm not sure how this affects the script, but based on the assumption above (the most popular one is the main one) then this is already how the script works, as it processes the results in descending order of popularity (the most popular first).
I should give a read to Picard script and see how it works, although it is written in Perl.
However reading the documentation I see it is possible to choose what tags are being used for main genre and what tags for sub genre. Could it be that Picard will query LastFm comparing results with the white lists? Once matched, genres are stored accordingly.

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

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by trixmoto » Wed Dec 05, 2012 4:14 am

Ah right, well that would rather complicate the script, but I can take a look.
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.

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Wed Dec 05, 2012 4:18 am

Yes the script should parse the main genre list; if a match is found, the matched genre will be the main one (leftmost). Then, parse the subgenre list; multiple match can occurr here. Did you see the screenshot in the documentation? The author has allowed a maximum number of matches configurability
Mate, if you do something similar I will Donate!

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Tue Dec 18, 2012 8:10 am

Error when running the script:

Image

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Wed Dec 19, 2012 12:15 pm

Blutarsky wrote:Error when running the script:

Image
Digging in this thread I have discovered that running MM as administrator, solves the problem...

gpzbc
Posts: 1226
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by gpzbc » Wed Dec 19, 2012 12:24 pm

Good! Glad you figured it out.
--
The gpzbc

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Blutarsky » Wed Dec 19, 2012 12:26 pm

gpzbc wrote:Good! Glad you figured it out.
Am I learning to walk? :D

gpzbc
Posts: 1226
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by gpzbc » Wed Dec 19, 2012 12:38 pm

:D
--
The gpzbc

gpzbc
Posts: 1226
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by gpzbc » Wed Dec 19, 2012 12:38 pm

:D
--
The gpzbc

Belgrath
Posts: 71
Joined: Sat Oct 27, 2007 6:14 pm

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by Belgrath » Sun Jan 13, 2013 1:17 pm

I am I currently running both 4.0.7.1511 and 3.2.5.1306 in different directories with my various scripts installed on both. If I'm unable to see BAT after I install it within my 4.0.x installations. Actually I'm having the same issue in multiple scripts where I can only see them in my 3.2 version. This has been going on for quite some time now so I just use both and depending on what I want to edit I use different version of MM, but I'm finally looking to consolidate into 4.0.

I've ran MM in Admin mode then tried to install the script, I've ran it as a normal user then tried to install etc...

I think there something that I'm missing which is a bit more fundamental... Any help is appreciated.

Here's a listing of scripts which all seem to behave like this, it may help to isolate the issue:
- Genre Finder
- Clear Field
- Batch Art Finder
- Album Art Tagger


Many thanks ahead of time,
Belg

BKKKPewsey
Posts: 361
Joined: Sun Jun 05, 2011 10:45 am
Location: United Kingdom

Re: Genre Finder 5.0 - Updated 05/08/2012

Post by BKKKPewsey » Sun Jan 13, 2013 2:22 pm

I am running those scripts, except clear field, with 3 versions of MM np (MM3, MM4.07 & MM4.1 beta)
However only MM3 is a regular install, the others are both portable.
I think the script installers get confused at which place their setting files should go when you have more then 1 monkey on board.
If you uninstall MM3 I would expect the scripts would then install ok or install MM4 as portable which keeps all the settings in that folder (nothing in app data)
:)
Everyone has the right to be stupid Image but some abuse the privilege

Post Reply