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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

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

Post by trixmoto » Wed Jan 16, 2008 3:32 pm

There is no "spoiler" tag on this forum, unfortunately.

As far as I can tell from the logfile, it could be an encoding issue with some of the artists. Not a lot else seems wrong. Try only with artists that do not have "foreign" characters in whilst testing, and try to play with some of the settings to avoid timeouts, etc.
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.

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

Post by jonp » Thu Jan 17, 2008 9:18 am

I have been using SDJ for the past few days - it is great. Works a treat. Thanks for the people that created it.

hernil
Posts: 35
Joined: Mon Dec 03, 2007 9:34 am

Post by hernil » Thu Jan 17, 2008 11:14 am

Hi, thanks for helping!
Got a new error message. Image

Killjoy12
Posts: 100
Joined: Mon Jun 11, 2007 11:33 pm

Post by Killjoy12 » Fri Jan 18, 2008 10:57 am

I'm getting a lot of repeats as well with this + dressen's update with MM1129. I have not had these issues on 2.x. I'm thinking that it's either not correctly determining last played, or something with the artist match.

As an example, it actually got into a loop last evening where my now playing list looked like this:

....
Artist A Song A (via SDJ)
Artist B Song A (via SDJ)
Artist A Song A (via SDJ)
Artist B Song A (via SDJ)


It just went out and added the previous song, to the point where I was playing the same two songs over and over. I've seen a few previous posts with this type of issue. I would think it would be more widespread among others.

I'm going to look into this later - is there anything I need to do to turn on the log statements in the script? And where is does the log file reside?

Thanks

Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky » Fri Jan 18, 2008 11:12 am

You either need to increase the timer for 'no same artist' or make sure your default playlist has a larger set of tracks.

Killjoy12
Posts: 100
Joined: Mon Jun 11, 2007 11:33 pm

Post by Killjoy12 » Fri Jan 18, 2008 12:49 pm

I'm not sure that's it, as my default playlist has my entire collection, and the timeout is set to 120.

Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky » Fri Jan 18, 2008 1:06 pm

I don't remember that ever happening to me, but I've modified the script to allow much longer 'no same artist' timer (I keep mine at 5000 minutes)..

How large is your library? Obviously the smaller your library the less choices the script has to choose from..

You could also enable the debug logging (in the scrobbler dj option settings) and post a short log and see if any one can see what is happening...

Killjoy12
Posts: 100
Joined: Mon Jun 11, 2007 11:33 pm

Post by Killjoy12 » Fri Jan 18, 2008 2:25 pm

About 2500 tracks.

I wanted to examine the log, so I'll try that. Like I said, I've used this with MM 2.x and never had this type of issue. Pretty much the same library.

Killjoy12
Posts: 100
Joined: Mon Jun 11, 2007 11:33 pm

Post by Killjoy12 » Fri Jan 18, 2008 9:40 pm

After pulling the SQL from the script, I *think* I may have figured out what happened. Since it relies on a song having been "played", I think it may be related to my advancing to the next song before it has been logged as played. Not sure that's what I had been doing, but I wouldn't be surprised.

So - I'm going to be very careful and monitor this, but I think it's the infamous "user error"

Thanks for the help though.

Azaniah
Posts: 28
Joined: Thu Jun 01, 2006 6:57 am

Post by Azaniah » Thu Jan 31, 2008 9:31 am

I know this has been asked a few times, and I have read every page of this thread, but still cannot find a distinct answer.

The missing icon, could someone tell me what it should be called? I did see the suggested change to ScrobblerDJ.vbs, but can find no reference to icon / button in the MM3 fixed version.

Sorry to be so dim, but just can't find a reference to the missing icon to know what to create / call a new one.

Thanks :)

Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky » Thu Jan 31, 2008 10:47 am

Actually, I looked at this recently, I don't remember if the installer includes the right icon or not any more.. I've long since made my own modifications to the script..

but anyway, I _should_ have the right icons and such, but still if I start MM with SDJ disabled the icon doesnt work.. but if you click it on, then off again, it works..

So, something is wrong in the code (or a bug in MM somewhere)... because obviously only the disabled icon is affected.. I've looked through the code and didnt see anything obvious, but still I am no expert.

PromisedPlanet
Posts: 159
Joined: Mon Feb 19, 2007 9:45 am
Location: Ohio, United States

ScrobblerDJ: SQL problem querying the database

Post by PromisedPlanet » Thu Jan 31, 2008 3:42 pm

Hey folks;

Just installed ScrobblerDJ today. Added a song to my Now Playing list and started playing it. In the MM taskbar was displayed "Scrobbler DJ: Querying Last.FM ...", then a dialog box appeared containing the following:

There was a problem querying the database:
Error executing SQL "SELECT Songs.IDArtist, Played.Playdate From (Songs INNER JOIN Played On Songs.ID = Played.IdSong) INNER JOIN Artists ON Songs.IDArtists = Artists.ID WHERE Artists.Artist Like 'Rupert Holmes' ORDER BY Played.PlayDate DESC" : no such column: Songs.IDArtist(1, 1)


And no, I wasn't playing a Rupert Holmes song at the time. :wink:

Any ideas? Thanks in advance.

Oh yeah, here's the debug log:

1/31/2008 3:45:08 PM: ---------------------------------------------------------------------------------------
1/31/2008 3:45:08 PM: User options are:
1/31/2008 3:45:08 PM: Default playlist: Favorites
1/31/2008 3:45:08 PM: Timeout Settings: 40, Warn: 1
1/31/2008 3:45:08 PM: Dont play same artist: 60
1/31/2008 3:45:08 PM: Minimun match: 65
1/31/2008 3:45:08 PM: Minimum Rating: 0
1/31/2008 3:45:08 PM: Include Higher Rating: True
1/31/2008 3:45:08 PM: Include Unknown Rating: True
1/31/2008 3:45:08 PM: Locale: 1033
1/31/2008 3:45:08 PM: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
1/31/2008 3:45:08 PM: * ScrobblerDJ started
1/31/2008 3:45:08 PM: ** All conditions met, Scrobbler will now go online
1/31/2008 3:45:08 PM: * Initialization started
1/31/2008 3:45:08 PM: * Initialization finished
1/31/2008 3:45:09 PM: ScrobblerDJ will register Progtimer
1/31/2008 3:45:09 PM: ** Feed Artist is Jim Carroll Band
1/31/2008 3:45:09 PM: * LoadXML started. Parameters passed: Jim Carroll Band ,1
1/31/2008 3:45:09 PM: * URLEncode has started with parameters Jim Carroll Band
1/31/2008 3:45:09 PM: * URLEncode will return Jim+Carroll+Band and exit
1/31/2008 3:45:09 PM: LoadXML will register DownTimer
1/31/2008 3:45:09 PM: LoadXML set Mode to 1 (artist)
1/31/2008 3:45:09 PM: * LoadXML exited
1/31/2008 3:45:09 PM: * ScrobblerDJ exited
1/31/2008 3:45:16 PM: * DownTimer Unregistered by itself (results from Last.FM returned succesfully)
1/31/2008 3:45:16 PM: ** Downtime is calling sub last artist in mode: 1
1/31/2008 3:45:16 PM: * LastArtist started. Mode was 1
1/31/2008 3:45:16 PM: LastArtist is calling ParseXML with parameters Jim Carroll Band, 1
1/31/2008 3:45:16 PM: * ParseXML has started with parameters Jim Carroll Band, 1
1/31/2008 3:45:16 PM: ParseXML is tranfering XML data to a dictionary
1/31/2008 3:45:16 PM: ParseXML tranfered XML data to dictionary succefully
1/31/2008 3:45:16 PM: ParseXML will now call NotTooSoon with parameters Gyroscope
1/31/2008 3:45:16 PM: * NotTooSoon has started with parameters Gyroscope
1/31/2008 3:45:16 PM: * CorrectSt has started with parameters Gyroscope
1/31/2008 3:45:16 PM: * CorrectSt will return Gyroscope and exit
1/31/2008 3:45:16 PM: 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 'Gyroscope' ORDER BY Played.PlayDate DESC
1/31/2008 3:45:26 PM: * ProgTimer Unregistered by itself (also unregistered all events...

Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex » Thu Jan 31, 2008 3:49 pm

You've installed the MM2 version of the script. Uninstall it and try to find the MM3 version in one of the later pages of this thread.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts

Big_Berny
Posts: 1784
Joined: Mon Nov 28, 2005 11:55 am
Location: Switzerland
Contact:

Post by Big_Berny » Thu Jan 31, 2008 4:30 pm

@PromisedPlanet: Don't uninstall it! Just update the vbs-file! You find the enw version some pages ago.
Image
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design

Peke
Posts: 13084
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Post by Peke » Thu Jan 31, 2008 9:23 pm

Hmmmm... This will be updated soon ;) But hush about it.
Best regards,
Pavle
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add SCREENSHOTS to forum

Locked