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

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Diabolic-Destiny
Posts: 223
Joined: Sun Apr 29, 2007 9:45 pm

Post by Diabolic-Destiny »

I created a play List called 'DJ' and changed the setting so that the playlist is 'DJ' and nothing happens when the song is done it just stops.

AutoDJ/Shuffle are both off/disabled, the error is a simple

Error Executing Script Event
Image
Image
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Hmm, are you using the latest version of MM2???. This error occurs in versions older than 2.5.2, i think.... (events weren't supported until then)
Diabolic-Destiny
Posts: 223
Joined: Sun Apr 29, 2007 9:45 pm

Post by Diabolic-Destiny »

using the latest MM 2.5.5.998 winxp sp2 iv tried reinstalling (jus rerunning the installer) with no luck, i think it worked before but once i deleted the original playlist it stopped working, btw using the latest version of AudioScrobbler and it was the first version installed
Image
Image
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Plz, enable debug mode and post the contents of the log file here. If it is too big, mail it to me...
cotp
Posts: 46
Joined: Fri May 11, 2007 7:53 am
Location: France

Post by cotp »

Hi :) and first of all thanks for all your effort on the making of this script, I want to tell you I appreciate the time yo take to answer to people :)

I am having some kind of the same problem as members mentionned on a past few posts.

Using MediaMonkey 2.5.5.998 on XP SP2

Installed your script, disabled AutoDJ and Shuffle
Created a playlist called "test", and put it on option

Then I added ABC by the Jackson 5... to playlist test

First I got this error message

Code: Select all

Error #13 Erreur d'execution Microsoft VBScript
Type incompatible: 'Cint'
File: " C:\PRogram Files\MediaMonkey\Scripts\ScrobblerDJ.vbs", Line 298, Column 17
Then this one:

Code: Select all

Access violation at address 005BC596 in module MediaMonkey.exe Read of address BCA38809
Then the great and final:

Code: Select all

Error executing script Event
Here is my debug log:

Code: Select all

11/05/2007 14:45:19: ---------------------------------------------------------------------------------------
11/05/2007 14:45:19: User options are:
11/05/2007 14:45:19: Default playlist: test
11/05/2007 14:45:19: Timeout Settings: 0, Warn: 0
11/05/2007 14:45:19: Dont play same artist: 0
11/05/2007 14:45:19: Minimun match: 0
11/05/2007 14:45:19: Minimum Rating: 0
11/05/2007 14:45:19: Include Higher Rating: Faux
11/05/2007 14:45:19: Include Unknown Rating: Faux
11/05/2007 14:45:19: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
11/05/2007 14:45:19: * ScrobblerDJ started
11/05/2007 14:45:19: ** All conditions met, Scrobbler will now go online
11/05/2007 14:45:19: * Initialization started
11/05/2007 14:45:19: * Initialization finished
11/05/2007 14:45:19: ScrobblerDJ will register Progtimer
11/05/2007 14:45:19: ** Feed Artist is Jackson 5, The
11/05/2007 14:45:19: * LoadXML started. Parameters passed: Jackson 5, The ,1
11/05/2007 14:45:19: * URLEncode has started with parameters Jackson 5, The
11/05/2007 14:45:19: * URLEncode will return Jackson+5%2C+The and exit
11/05/2007 14:45:19: LoadXML will register DownTimer
11/05/2007 14:45:19: LoadXML set Mode to 1 (artist)
11/05/2007 14:45:19: * LoadXML exited
11/05/2007 14:45:19: * ScrobblerDJ exited
11/05/2007 14:45:20: * DownTimer Unregistered by itself (results from Last.FM returned succesfully)
11/05/2007 14:45:20: ** Downtime is calling sub last artist in mode: 1
11/05/2007 14:45:20: * LastArtist started. Mode was 1
11/05/2007 14:45:20: LastArtist is calling ParseXML with parameters Jackson 5, The, 1
11/05/2007 14:45:20: * ParseXML has started with parameters Jackson 5, The, 1
11/05/2007 14:45:20: ParseXML is tranfering XML data to a dictionary
11/05/2007 14:45:20: * ProgTimer Unregistered by itself (also unregistered all events...
Any idea on what I can do to fix this ?

Thanks in advance,

Cotp
Diabolic-Destiny
Posts: 223
Joined: Sun Apr 29, 2007 9:45 pm

Post by Diabolic-Destiny »

Psy i emailed you the debug log but i think i figured out why it wasnt working. It was because I dont rate my songs and I had not had the option Include Unkown Rating checked once i checked it its now working as expected.

Im curious as to what is the purpose of the Default Playlist, as it never seems to be adding songs to the default playlist to begin with.
Image
Image
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

the default playlist is used to add a track FROM, TO the now playing queue whenever sdj can either not find a suitable last.fm artist or can't find a suitable track from your library. Or when it can't connect to last.fm (ie its down, or your internet is down).
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Diabolic-Destiny
Yes it seems like the problem was because of your settings

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.
cotp
Posts: 46
Joined: Fri May 11, 2007 7:53 am
Location: France

Post by cotp »

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.
Thank you so much psyXonova for being so reactive. I hope you know that we are very grateful to what you do. Don't listen to bitter comments, you did a terrific job !! I installed it and it worked (loving it ;) )...

I wish you the best for all you ongoing projects,

Cheers

Cotp :wink:
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Thanks copt,

I really appreciate your support...
As for bitter comments, life is bittersweet... I can't see any reason why MM forums, or any other place that allows interactions between hundreds of people, shouldn't be...

EDIT: BTW, it seems like MM site was down for more than 2 hours... does anyone knows why...? Was it an attack?
jan123

problems with fresh installation

Post by jan123 »

hello & good morning from berlin,

i'm still working on the first successfull run of scrobblerDJ

my constellation:
- mediamonkey 2.5.5.998 (the newest)
- scrobblerdj downloaded yesterday (2007/5/12)
- windows xp

first try:
Type incompatible: 'Cint']
(exactly the same than a forum post before had)

-> patched the proposed way

Code: Select all

                dim xm
                xm = XElmnt.ChildNodes.Item(2).Text
                xm= replace(xm,".",",")

                If CInt(xm) > MinMatch Then
                    XDict.Add i, XElmnt.ChildNodes.Item(0).Text
                End If 
second try:

Error executing script event

error log:

Code: Select all

13.05.2007 11:24:22: ---------------------------------------------------------------------------------------
13.05.2007 11:24:22: User options are:
13.05.2007 11:24:22: Default playlist: test
13.05.2007 11:24:22: Timeout Settings: 0, Warn: 0
13.05.2007 11:24:22: Dont play same artist: 0
13.05.2007 11:24:22: Minimun match: 0
13.05.2007 11:24:22: Minimum Rating: 0
13.05.2007 11:24:22: Include Higher Rating: Wahr
13.05.2007 11:24:22: Include Unknown Rating: Wahr
13.05.2007 11:24:22: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
13.05.2007 11:24:22: * ScrobblerDJ started
13.05.2007 11:24:22: ** All conditions met, Scrobbler will now go online
13.05.2007 11:24:22: * Initialization started
13.05.2007 11:24:22: * Initialization finished
13.05.2007 11:24:22: ScrobblerDJ will register Progtimer
13.05.2007 11:24:22: ** Feed Artist is Ronan Keating
13.05.2007 11:24:22: * LoadXML started. Parameters passed: Ronan Keating ,1
13.05.2007 11:24:22: * URLEncode has started with parameters Ronan Keating
13.05.2007 11:24:22: * URLEncode will return Ronan+Keating and exit
13.05.2007 11:24:22: LoadXML will register DownTimer
13.05.2007 11:24:22: LoadXML set Mode to 1 (artist)
13.05.2007 11:24:22: * LoadXML exited
13.05.2007 11:24:22: * ScrobblerDJ exited
13.05.2007 11:24:23: * DownTimer Unregistered by itself (results from Last.FM returned succesfully)
13.05.2007 11:24:23: ** Downtime is calling sub last artist in mode: 1
13.05.2007 11:24:23: * LastArtist started. Mode was 1
13.05.2007 11:24:23: LastArtist is calling ParseXML with parameters Ronan Keating, 1
13.05.2007 11:24:23: * ParseXML has started with parameters Ronan Keating, 1
13.05.2007 11:24:23: ParseXML is tranfering XML data to a dictionary
13.05.2007 11:24:23: ParseXML tranfered XML data to dictionary succefully
13.05.2007 11:24:23: ParseXML will now call NotTooSoon with parameters Holly Valance
13.05.2007 11:24:23: * NotTooSoon has started with parameters Holly Valance
13.05.2007 11:24:23: * CorrectSt has started with parameters Holly Valance
13.05.2007 11:24:23: * CorrectSt will return Holly Valance and exit
13.05.2007 11:24:23: NotTooSoon will query database with SQL: SELECT Songs.IDArtist, Played.PlayDate FROM (Songs INNER JOIN Played ON Songs.ID = Played.IdSong) INNER JOIN Artists ON Songs.IDArtist = Artists.ID WHERE Artists.Artist Like 'Holly Valance'  ORDER BY Played.PlayDate DESC
13.05.2007 11:24:23: * NotTooSoon will retunn Wahr and exit
13.05.2007 11:24:23: ParseXML will now call sub CheckExist with parameters Holly Valance, 0, 1
13.05.2007 11:24:23: * CheckExist has started with parameters Holly Valance, 0, 1
13.05.2007 11:24:23: * CorrectSt has started with parameters Holly Valance
13.05.2007 11:24:23: * CorrectSt will return Holly Valance and exit
13.05.2007 11:24:23: CheckExist will call CheckRating with parameters Holly Valance, 0, 1
13.05.2007 11:24:23: * CheckRating has started with parameters Holly Valance, 0, 1
13.05.2007 11:24:23: * CorrectSt has started with parameters Holly Valance
13.05.2007 11:24:23: * CorrectSt will return Holly Valance and exit
13.05.2007 11:24:23: CheckRating will query database with SQL: SELECT TOP 1 Artists.ID FROM Artists Left Join Songs On Artists.ID = Songs.IDArtist WHERE Artists.Artist like 'Holly Valance' And (Songs.Rating >=0 OR SONGS.RATING = -1) ORDER BY Songs.Rating DESC
13.05.2007 11:24:23: * CheckRating will return False and exit
13.05.2007 11:24:23: Rating Control for artist Holly Valance failed. CheckExist will return 0 and exit
13.05.2007 11:24:23: CheckExist returned 0 to ParseXML
13.05.2007 11:24:23: * ProgTimer Unregistered by itself (also unregistered all events...
13.05.2007 11:24:36: ---------------------------------------------------------------------------------------
13.05.2007 11:24:36: User options are:
13.05.2007 11:24:36: Default playlist: test
13.05.2007 11:24:36: Timeout Settings: 0, Warn: 0
13.05.2007 11:24:36: Dont play same artist: 0
13.05.2007 11:24:36: Minimun match: 0
13.05.2007 11:24:36: Minimum Rating: 0
13.05.2007 11:24:36: Include Higher Rating: Wahr
13.05.2007 11:24:36: Include Unknown Rating: Wahr
13.05.2007 11:24:36: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
13.05.2007 11:24:36: * ScrobblerDJ started
13.05.2007 11:24:36: Playlist hasn't reached the last song
13.05.2007 11:24:36: * ScrobblerDJ exited
from as far as i understand the logs i get an answer from last.fm (holly valance, which is not in my db)
after that the script fails with the described error.

is there something obvious i am missing?

would be very very nice if you could give me a hint on what's running wrong...

thanks a lot,
jan
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Please download again SDj from the first post of this thread and reinstall it.
Both of the errors you report have been fixed as from yesterdays morning.

If errors continue then I will have a look to see what else is wrong
jan123

more info

Post by jan123 »

another run where the logs look substantially smaller:

Code: Select all

13.05.2007 11:37:42: ---------------------------------------------------------------------------------------
13.05.2007 11:37:42: User options are:
13.05.2007 11:37:42: Default playlist: test
13.05.2007 11:37:42: Timeout Settings: 0, Warn: 0
13.05.2007 11:37:42: Dont play same artist: 0
13.05.2007 11:37:42: Minimun match: 0
13.05.2007 11:37:42: Minimum Rating: 0
13.05.2007 11:37:42: Include Higher Rating: Wahr
13.05.2007 11:37:42: Include Unknown Rating: Wahr
13.05.2007 11:37:42: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
13.05.2007 11:37:42: * ScrobblerDJ started
13.05.2007 11:37:42: ** All conditions met, Scrobbler will now go online
13.05.2007 11:37:42: * Initialization started
13.05.2007 11:37:42: * Initialization finished
13.05.2007 11:37:42: ScrobblerDJ will register Progtimer
13.05.2007 11:37:42: ** Feed Artist is Arcade Fire
13.05.2007 11:37:42: * LoadXML started. Parameters passed: Arcade Fire ,1
13.05.2007 11:37:42: * URLEncode has started with parameters Arcade Fire
13.05.2007 11:37:42: * URLEncode will return Arcade+Fire and exit
13.05.2007 11:37:42: LoadXML will register DownTimer
13.05.2007 11:37:42: LoadXML set Mode to 1 (artist)
13.05.2007 11:37:42: * LoadXML exited
13.05.2007 11:37:42: * ScrobblerDJ exited
13.05.2007 11:37:43: * ProgTimer Unregistered by itself (also unregistered all events...
:-)

thx,
jan
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Jan, have you noticed my previous post?????
jan123

wow

Post by jan123 »

wow it's working

mate, you are amazing!

thanks a million times & many greetings over to cyprus

:-)

jan
Locked