Artist Top Tracks 1.5 - Updated 18/08/2012

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

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

Re: Artist Top Tracks 1.0 - Created 29/03/2010

Post by trixmoto » Wed Apr 07, 2010 3:28 am

1) I plan to do some major research on this kind of "fixing" of Last.FM urls, a number of my scripts would benefit from this but I've not gotten round to it yet.

2) Yes, I've already said I'll add zero padding in 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

Superfrodo
Posts: 29
Joined: Mon Apr 03, 2006 12:23 pm
Location: Netherlands

Re: Artist Top Tracks 1.0 - Created 29/03/2010

Post by Superfrodo » Wed Apr 07, 2010 12:17 pm

Trixmoto,

You are right about the zero padding. Missed it at the previous reply. Sorry about that.

One other thing about different versions from the same song:

Within Temptation - Ice Queen >> recognized as No 8
Within Temptation - Ice Queen (Acoustic) >> not recognized
Within Temptation - Ice Queen (live) >> not recognized

Perhaps some more fuzzy logic to remove the last part of the title between the brackets "(....)" from the search, when the title is not found.
In that case all 3 songs should get recognized as No 8.

Thanx, SuperFrodo

Best Guest

Re: Artist Top Tracks 1.0 - Created 29/03/2010

Post by Best Guest » Fri Apr 09, 2010 10:24 am

:D Yo Trix.
You Have a problem in you'r .ini file from your website for this version.
There is wrong "Procname" or "Title" if you so wish...

ID=ArtistTopTracks
Title=PUID Generator

There will be problem if somebody allredy have PUID installed,
or if not, they maybe cant find it in rightclickforscript.

BTW, I looove your scripts and all my (..) thumbs up for you all scripters. :)

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

Re: Artist Top Tracks 1.0 - Created 29/03/2010

Post by trixmoto » Sat Apr 10, 2010 5:25 am

Thanks, I'll get this fixed in 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

be4con
Posts: 13
Joined: Mon Nov 05, 2007 12:54 pm

Re: Artist Top Tracks 1.0 - Created 29/03/2010

Post by be4con » Sat Apr 10, 2010 1:00 pm

I can't seem to get this script to work, any ideas?

Regardless of what artist I select I get the following error:

Error happened during script execution: unknown name.

Thanks

EDIT:
I un-installed and reinstalled the script and that corrected the error.

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

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by trixmoto » Thu Apr 29, 2010 5:46 pm

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

- Fixed error in installation package
- Fixed lowest rank being used instead of highest
- Fixed string fields not being zero padded
- Added delay to comply with Last.Fms terms of service
- Added option to prefix value in string fields
- Added option to return playcount or listeners
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

jonp
Posts: 105
Joined: Tue Jan 01, 2008 8:08 am
Location: Australia

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by jonp » Fri Apr 30, 2010 10:17 pm

Thanks for the update Trixmoto - great work.

Al4MM
Posts: 50
Joined: Fri Apr 30, 2010 3:31 am
Location: Pietermaritzburg, South Africa

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by Al4MM » Sun May 02, 2010 10:19 am

Impressive. Thanks, this is my most used script.

Al4MM
Posts: 50
Joined: Fri Apr 30, 2010 3:31 am
Location: Pietermaritzburg, South Africa

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by Al4MM » Sun May 02, 2010 12:27 pm

Thanks for the zero padding, but can we get an extra 0 for the playcount as Lady Gaga's Poker Face is on 1,985,576 which doesn't sort as it as an extra digit so it's placed among the 100,000s

Superfrodo
Posts: 29
Joined: Mon Apr 03, 2006 12:23 pm
Location: Netherlands

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by Superfrodo » Sun May 02, 2010 1:47 pm

Thanx, the script works perfect now. :D

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

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by trixmoto » Sun May 02, 2010 3:29 pm

I will add an option to allow you to set the padding in the next version. For now you'll need to modify lines 307-310...

Code: Select all

              Case 1
                valu = valu&Pad(rank,6)
              Case 2
                valu = valu&Pad(rank,6)
...so that they are padded by 7 or 8.
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

Al4MM
Posts: 50
Joined: Fri Apr 30, 2010 3:31 am
Location: Pietermaritzburg, South Africa

Re: Artist Top Tracks 1.1 - Created 29/04/2010

Post by Al4MM » Sun May 02, 2010 4:33 pm

Thanks for the quick response to amend!

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

Re: Artist Top Tracks 1.2 - Updated 26/06/2010

Post by trixmoto » Sat Jun 26, 2010 1:50 pm

New version (1.2) is now available to download from my website. I've added an option to specify the length when zero padding.
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

sonofjon
Posts: 20
Joined: Wed Jan 28, 2009 2:59 pm

Re: Artist Top Tracks 1.2 - Updated 26/06/2010

Post by sonofjon » Thu Jul 01, 2010 10:54 pm

Sweet! I was just looking for something like this. Thanks.

I think it would also be quite useful to add some functionality to project the imported data to a rating. But perhaps that should be done aside from this script. Does anybody know of an existing script that can assign ratings from a series of numbers (rank/listeners/playcount)?

sourceminer
Posts: 13
Joined: Wed Nov 26, 2008 2:45 pm

Re: Artist Top Tracks 1.2 - Updated 26/06/2010

Post by sourceminer » Thu Dec 02, 2010 3:29 am

Hey Trix, Thanks for the awesome script.
Trying to understand the Zero Pad option.. Read the issues above but cant seem to figure this one out.
The Default has this set to "2"
My issue is still with Sorting on this field example:
10203
1061
10691

Post Reply