ScrobblerDJ v1.26, Let your music free!!!

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Working version in MM3!

Postby Chake » Fri Dec 14, 2007 2:07 pm

dressen wrote:Hi everyone,

This is one my favorite scripts and I had to see it working in MM3. I'm pleased to say I've gotten it working (first real MM scripting I've done).

Here is a link to a working version of ScrobblerDJ.vbs for MM3:
http://www.mediafire.com/?bnbu3ythf0j

Install ScrobblerDj as normal, then overwrite ScrobblerDJ.vbs with this version and it should work.

This version is not backwards compatible and will not work with MM2.x.

I've placed the comment "MM3 " wherever I made a change.

Enjoy!


NICE! It works fine, beautiful - thank you. Now my MM3 is really ready for being used!
Chake
 
Posts: 8
Joined: Sat Nov 17, 2007 5:32 am

Postby Peke » Sat Dec 15, 2007 12:24 am

:oops: I shouldn't say this but I'm also working on ScrobblerDJ and much better compatibility in MM3 :) + Few tweaks that MM3 made possible :)

Edit: Any thanges you do here could be easily added to new one when I make it work Like I wanted.
Best regards,
Pavle
MM Plug-in Developer and Fan (MM FanSite)
Image
Image
Peke
 
Posts: 6353
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

Postby nojac » Sat Dec 15, 2007 2:18 am

I tried to install Dressen's MM3 version. But I get an error message:


Error #13: VB Runtime Error
....................'CInt'
File: C:\...................MediaMonkey\scripts\ScrobblerDJ.vbs Line 298 Coloumn 16


Any idea what happened? (AutoDJ and Shuffle are disabled. I installed the MM2 version and then replaced the ScrobblerDJ.vbs file with Dressen's)
nojac
 
Posts: 507
Joined: Tue Dec 19, 2006 12:23 pm
Location: Norway

Postby dressen » Sat Dec 15, 2007 8:59 am

nojac wrote:I tried to install Dressen's MM3 version. But I get an error message:


Error #13: VB Runtime Error
....................'CInt'
File: C:\...................MediaMonkey\scripts\ScrobblerDJ.vbs Line 298 Coloumn 16


Any idea what happened? (AutoDJ and Shuffle are disabled. I installed the MM2 version and then replaced the ScrobblerDJ.vbs file with Dressen's)


It looks like it is trying to parse the match node from XML then convert it to integer. Whatever value it is getting is not a number so it can't convert it. The XML returned from last.fm looks like this:

Code: Select all
<artist>
<name>My Morning Jacket</name>
<mbid>ea5883b7-68ce-48b3-b115-61746ea53b8c</mbid>
<match>65.83</match>
<url>http://www.last.fm/music/My+Morning+Jacket</url>
<image_small>http://userserve-ak.last.fm/serve/50/53971.jpg</image_small>
<image>http://userserve-ak.last.fm/serve/160/53971.jpg</image>
<streamable>1</streamable>
</artist>


As you can see, the match node should be a number. Can you turn on debug node and run it on the track you are receiving the error on then send the last few hundred lines of the log. You can send it via email/PM if you'd like and I'll take a look.
dressen
 
Posts: 11
Joined: Tue Feb 13, 2007 3:09 am
Location: Seattle, WA

Postby Teknojnky » Sat Dec 15, 2007 7:14 pm

I believe a fix for the cint error was posted a few pages back.

At some point last.fm changed or has some artists added with invalid (or non-standard) data.
Teknojnky
 
Posts: 5354
Joined: Tue Sep 06, 2005 11:01 pm

Postby nojac » Sat Dec 15, 2007 11:22 pm

Yes, you are right, Teknojnky. On page 43 (11.-12. May 2007) the cInt error is adressed:
psyXonova wrote:cotp
I found a good way to finally fix that bug, along with another one that caused SDj not to write its default settings at the first start (the presence of this bug was reminded to me by your log where most settings are zeros, which in turn should cause more troubles [e.g. a timeout setting equal to 0 means that SDj will never manage to download the files needed from LAST.FM])

You can download the new version from the first post of this thread (filename has not changed) and reinstall it.

I have no idea how to change the MM3 version of the script to solve the problem , though.....
nojac
 
Posts: 507
Joined: Tue Dec 19, 2006 12:23 pm
Location: Norway

Postby Warwick » Sun Dec 16, 2007 7:04 pm

Peke wrote::oops: I shouldn't say this but I'm also working on ScrobblerDJ and much better compatibility in MM3 :) + Few tweaks that MM3 made possible :)


A couple of thoughts re this excellent script

1. The main reason for the playlist "wandering"is the contents of the default playlist. If multiple selectable default playlists were possible then you could use defaults with narrower parameters which would reduce "wandering". For example you could have a blues default playlist or a country default playlist. This would require a drop list in the options that sourced from the playlists in MM3. I guess this is possible now but requires typing in a new default playlist each time

2. The script could become an excellent playlist generator rather like MusicIP Mixer but using a different ( lastFM) selection base. This could be achieved by having an option to run the script to generate a.m3u playlist rather than loading the actual tracks to play. This would allow some editing of the playlist before playing to remove the occaisonal clunker.

Apologies if these ideas have already been noted in the previous 49 pages.
Warwick
 
Posts: 8
Joined: Thu Apr 12, 2007 3:28 am

Postby Peke » Sun Dec 16, 2007 7:21 pm

1. Is possible in MM3 as you can make One playlist reference to another playlist and ...

2. This is job for another script Related to Last.FM services and it should not be mixed with this one, but some parts of code could be used in that script.
Best regards,
Pavle
MM Plug-in Developer and Fan (MM FanSite)
Image
Image
Peke
 
Posts: 6353
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

Postby dressen » Sun Dec 16, 2007 8:02 pm

I'll have an updated version of the MM3 script available tonight. The problem was I was using a beta version of the script without the CInt fix as the base. I just need to merge the updates.

nojac wrote:Yes, you are right, Teknojnky. On page 43 (11.-12. May 2007) the cInt error is adressed:
psyXonova wrote:cotp
I found a good way to finally fix that bug, along with another one that caused SDj not to write its default settings at the first start (the presence of this bug was reminded to me by your log where most settings are zeros, which in turn should cause more troubles [e.g. a timeout setting equal to 0 means that SDj will never manage to download the files needed from LAST.FM])

You can download the new version from the first post of this thread (filename has not changed) and reinstall it.

I have no idea how to change the MM3 version of the script to solve the problem , though.....
dressen
 
Posts: 11
Joined: Tue Feb 13, 2007 3:09 am
Location: Seattle, WA

Postby Diabolic-Destiny » Mon Dec 17, 2007 12:37 am

hey dressen can u make it query Album Artist instead of the artist field

when i have songs featuring I usually put the featured artists in the artist section and the album artist will be the original artist
Image
Image
Diabolic-Destiny
 
Posts: 225
Joined: Sun Apr 29, 2007 9:45 pm

Postby dressen » Mon Dec 17, 2007 7:37 am

dressen wrote:I'll have an updated version of the MM3 script available tonight. The problem was I was using a beta version of the script without the CInt fix as the base. I just need to merge the updates.


As promised, here's the updated version of the MM3 script based on the most recent 1.26 version.

http://www.mediafire.com/?8dvicx0ndcc

Install ScrobblerDj as normal, then overwrite ScrobblerDJ.vbs with this version and it should work.

This version is not backwards compatible and will not work with MM2.x.
dressen
 
Posts: 11
Joined: Tue Feb 13, 2007 3:09 am
Location: Seattle, WA

Postby nojac » Mon Dec 17, 2007 11:01 am

Thank you, dressen. It is working as it should now.
nojac
 
Posts: 507
Joined: Tue Dec 19, 2006 12:23 pm
Location: Norway

Postby Teknojnky » Mon Dec 17, 2007 1:48 pm

Dressen, you may want to also include the fix post here which helps prevent SDJ from not finding tracks when it should.
Teknojnky
 
Posts: 5354
Joined: Tue Sep 06, 2005 11:01 pm

Postby dressen » Tue Dec 18, 2007 12:48 am

Teknojnky wrote:Dressen, you may want to also include the fix post here which helps prevent SDJ from not finding tracks when it should.


Hi there,

The most version should have all the supplemental updates from this thread, including that NotTooSoon fix and the URLEncode fix.
dressen
 
Posts: 11
Joined: Tue Feb 13, 2007 3:09 am
Location: Seattle, WA

Thanks

Postby A_Disciple » Tue Dec 25, 2007 9:17 am

I would also like to extend my appreciation to psyXonova and all others for their work with this script - it is a great concept and worked beautifully in MM2.

I would like to thank dressen for making it MM3 compatible - strong work my friend. Thanks!
Image
1. MM3 Gold 3.1.0.1247
2. Vista Home Premium
A_Disciple
 
Posts: 97
Joined: Thu Feb 16, 2006 11:06 am

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 4 guests