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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

confyoosed
Posts: 41
Joined: Sun Apr 23, 2006 3:22 am

right on

Post by confyoosed » Mon Apr 24, 2006 12:56 am

This is definitely a value-added function to MM. Fantastic idea & work. Special thanks to psyxnova, Peke, and Teknojnky (his sig lead me here). If I left any devs out, sorry.

SDJ is something that may be part of me adopting MM as my main music player, I just have a few questions and comments.

1. Thanks for doing the dirty work and not requiring the gold version of MM. It means that those of us doing evaluations of the software can test out your script to see how much we like it.

2. Does using SDJ require a Last.FM account?

3. Does SDJ upload any of my information to Last.FM (or elsewhere) such as usage or personal information?

4. Maybe there should be an official method for submitting error logs. Posting the logs in the thread can make it hard to get to the other information posted. Perhaps this could be done as specific email address, website, PMs, etc.

5. There could be a separate thread for development chat. This idea actually came to me as an official method for submitting the error logs, but that thread would also be useful place to discuss development issues for new features too. Although maybe this is too much, and one thread would be best, but just some way to post error logs.

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

Post by trixmoto » Mon Apr 24, 2006 3:20 am

2) No, one is not required (although personally I love mine!)

3) Again, no. You need to install the official AudioScrobbler plugin if you wish information to be sent to Last.Fm (for which you'll need an account).

4+5) My opinion would be email the debug logs and keep the dev chat in this forum, but as I'm not working on this project, it's not for me to say.
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.

confyoosed
Posts: 41
Joined: Sun Apr 23, 2006 3:22 am

Post by confyoosed » Mon Apr 24, 2006 11:13 am

Thanks for the info trixmoto. Yeah, the email drop might be easiest for everyone, I was just brainstorming.

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

Post by psyXonova » Thu Apr 27, 2006 7:37 am

Hello again,

i was away for vacations quite a long time but now i am back.
Expect new version soon...

Paven locked out

Post by Paven locked out » Fri May 05, 2006 3:06 am

i just love this script but i found a bug
if a missing file or broken file is added by scrobler it won't get played(offcourse) witch in return meens no new song will be added after that song and the play list stops

sugested solutions

1. Make scrobler add one song fore each song started (even if not last in nowplaying),
alowes users to start out with a number of song to set the kind of music they whant to play as well as provide a buffer.
2. Make scrobler add song even if song not staring to play(so the roll won't stop)
3. Make scrobler provide X number of songs in the list, never less than x songs in Now playing upcoming songs..

any one will do, nr 2 will work best but 1 and 3 will provide aditonal functonality that i would like :) NR 1 would be GOLD

Regards
Paven

*BERT*

Post by *BERT* » Sat May 06, 2006 11:13 am

Hi, i've got v1.26beta and MM 2.5.2.951, not running any other scripts.

It just doesn't seem to want to work. It will happily add new tracks to the bottom of now playing but it tells me that it can't find the artist in Last.FM and will only pick tracks from my default playlist.

I thought that perhaps my music taste was a bit too obscure so i stuck in a Bon Jovi track and it sill gives me the message that it can't find anything on Last.FM.

I looked at the log and there is an error in there about a dictionary not existing, can you tell me what i'm doing wrong?
06/05/2006 17:03:22: User options are:
06/05/2006 17:03:22: Default playlist: Last Added
06/05/2006 17:03:22: Timeout Settings: 40, Warn: 0
06/05/2006 17:03:22: Dont play same artist: 30
06/05/2006 17:03:22: Minimun match: 0
06/05/2006 17:03:22: Minimum Rating: 0
06/05/2006 17:03:22: Include Higher Rating: False
06/05/2006 17:03:22: Include Unknown Rating: True
06/05/2006 17:03:22: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
06/05/2006 17:03:22: * ScrobblerDJ started
06/05/2006 17:03:22: ** All conditions met, Scrobbler will now go online
06/05/2006 17:03:22: * Initialization started
06/05/2006 17:03:22: * Initialization finished
06/05/2006 17:03:22: ScrobblerDJ will register Progtimer
06/05/2006 17:03:22: ** Feed Artist is Deadbolt
06/05/2006 17:03:22: * LoadXML started. Parameters passed: Deadbolt ,1
06/05/2006 17:03:22: * URLEncode has started with parameters Deadbolt
06/05/2006 17:03:22: * URLEncode will return Deadbolt and exit
06/05/2006 17:03:22: LoadXML will register DownTimer
06/05/2006 17:03:22: LoadXML set Mode to 1 (artist)
06/05/2006 17:03:22: * LoadXML exited
06/05/2006 17:03:22: * ScrobblerDJ exited
06/05/2006 17:03:23: * DownTimer Unregistered by itself (results from Last.FM returned succesfully)
06/05/2006 17:03:23: ** Downtime is calling sub last artist in mode: 1
06/05/2006 17:03:23: * LastArtist started. Mode was 1
06/05/2006 17:03:23: LastArtist is calling ParseXML with parameters Deadbolt, 1
06/05/2006 17:03:23: * ParseXML has started with parameters Deadbolt, 1
06/05/2006 17:03:23: ParseXML is tranfering XML data to a dictionary
06/05/2006 17:03:23: ParseXML tranfered XML data to dictionary succefully
06/05/2006 17:03:23: ** ParseXML detected an empty dictionary. ParseXML will return E1 and exit
06/05/2006 17:03:23: ParseXML returned E1 to LastArtist. Procceding to error evaluation
06/05/2006 17:03:23: * PlayDefTrack has started
06/05/2006 17:03:23: PlayDefTrack will use Last Added playlist which contains a total of 100 tracks
06/05/2006 17:03:23: PlayDefTrack initialized checking for accessible files
06/05/2006 17:03:23: * IsAccessible has started for song (7470) Misfits - Bullet (with Henry Rollins) (Los Angeles, CA 04.13.82)
06/05/2006 17:03:23: * IsAccessible will return True and exit
06/05/2006 17:03:23: ** PlayDefTrack: track (7470) Misfits - Bullet (with Henry Rollins) (Los Angeles, CA 04.13.82) was accessible and was added in the playing que
06/05/2006 17:03:23: * PlayDefTrack will return TRUE and exit
06/05/2006 17:03:23: ** PlayDefTrack couldn't locate an accessible track from the default playlist
06/05/2006 17:03:23: * PlayDefTrack will return FALSE and exit
06/05/2006 17:03:23: Error evaluated by LastArtist. PlayDefTrack was called succesfully
06/05/2006 17:03:23: ** Scrobbler reported to user: Scrobbler DJ: Could not locate artist on Last.FM :-( .... ScrobblerDJ added a track from the default playlist
06/05/2006 17:03:23: * LastArtist exited
06/05/2006 17:03:25: * ProgTimer Unregistered by itself (also unregistered all events...
06/05/2006 17:05:49: ---------------------------------------------------------------------------------------
06/05/2006 17:05:49: User options are:
06/05/2006 17:05:49: Default playlist: Last Added
06/05/2006 17:05:49: Timeout Settings: 40, Warn: 0
06/05/2006 17:05:49: Dont play same artist: 30
06/05/2006 17:05:49: Minimun match: 0
06/05/2006 17:05:49: Minimum Rating: 0
06/05/2006 17:05:49: Include Higher Rating: False
06/05/2006 17:05:49: Include Unknown Rating: True
06/05/2006 17:05:49: <<<<<<<<<<<<<< Script Will now Proceed >>>>>>>>>>>>>>>>>
06/05/2006 17:05:49: * ScrobblerDJ started
06/05/2006 17:05:49: ** All conditions met, Scrobbler will now go online
06/05/2006 17:05:49: * Initialization started
06/05/2006 17:05:49: * Initialization finished
06/05/2006 17:05:50: ScrobblerDJ will register Progtimer
06/05/2006 17:05:50: ** Feed Artist is Bon Jovi
06/05/2006 17:05:50: * LoadXML started. Parameters passed: Bon Jovi ,1
06/05/2006 17:05:50: * URLEncode has started with parameters Bon Jovi
06/05/2006 17:05:50: * URLEncode will return Bon+Jovi and exit
06/05/2006 17:05:50: LoadXML will register DownTimer
06/05/2006 17:05:50: LoadXML set Mode to 1 (artist)
06/05/2006 17:05:50: * LoadXML exited
06/05/2006 17:05:50: * ScrobblerDJ exited
06/05/2006 17:05:50: * DownTimer Unregistered by itself (results from Last.FM returned succesfully)
06/05/2006 17:05:50: ** Downtime is calling sub last artist in mode: 1
06/05/2006 17:05:50: * LastArtist started. Mode was 1
06/05/2006 17:05:50: LastArtist is calling ParseXML with parameters Bon Jovi, 1
06/05/2006 17:05:50: * ParseXML has started with parameters Bon Jovi, 1
06/05/2006 17:05:50: ParseXML is tranfering XML data to a dictionary
06/05/2006 17:05:50: ParseXML tranfered XML data to dictionary succefully
06/05/2006 17:05:50: ** ParseXML detected an empty dictionary. ParseXML will return E1 and exit
06/05/2006 17:05:50: ParseXML returned E1 to LastArtist. Procceding to error evaluation
06/05/2006 17:05:50: * PlayDefTrack has started
06/05/2006 17:05:50: PlayDefTrack will use Last Added playlist which contains a total of 100 tracks
06/05/2006 17:05:50: PlayDefTrack initialized checking for accessible files
06/05/2006 17:05:50: * IsAccessible has started for song (7427) Bloodsucking Zombies From Outer Space - Trash Ballerina
06/05/2006 17:05:50: * IsAccessible will return True and exit
06/05/2006 17:05:50: ** PlayDefTrack: track (7427) Bloodsucking Zombies From Outer Space - Trash Ballerina was accessible and was added in the playing que
06/05/2006 17:05:50: * PlayDefTrack will return TRUE and exit
06/05/2006 17:05:50: ** PlayDefTrack couldn't locate an accessible track from the default playlist
06/05/2006 17:05:50: * PlayDefTrack will return FALSE and exit
06/05/2006 17:05:50: Error evaluated by LastArtist. PlayDefTrack was called succesfully
06/05/2006 17:05:50: ** Scrobbler reported to user: Scrobbler DJ: Could not locate artist on Last.FM :-( .... ScrobblerDJ added a track from the default playlist
06/05/2006 17:05:50: * LastArtist exited
06/05/2006 17:05:52: * ProgTimer Unregistered by itself (also unregistered all events...
[/quote]

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

Post by Big_Berny » Sat May 06, 2006 7:17 pm

I really like ScrobberDJ, it's a great script! :D But it would be even greater if it could also create Playlists! Then we could synch it to our mp3-player. Could you add somethin like that? Taht feature could also be interestung for people with dialup-internet.

But thanks again, it's already a cool script! :)
Big_Berny

confyoosed
Posts: 41
Joined: Sun Apr 23, 2006 3:22 am

Post by confyoosed » Sat May 06, 2006 8:51 pm

Big_Berny wrote:I really like ScrobberDJ, it's a great script! :D But it would be even greater if it could also create Playlists! Then we could synch it to our mp3-player. Could you add somethin like that? Taht feature could also be interestung for people with dialup-internet.

But thanks again, it's already a cool script! :)
Big_Berny
It's pretty easy to create playlists using scrobbler DJ already. If you've been listening to a bunch and want to save it, you can 1) right-click on Now Playing / Send To / Playlist / New Playlist, or 2) Click on Now Playing, File / Export to Playlist to create an m3u file directly (instead of creating a MM playlist and exporting that to m3u).

To sort of quickly build up a number of songs, just add your seed file like normal, then when it finds the next song, click next, repeat. In a minute or two you can build up a pretty big playlist. Then just do one of the above to save it how you want it saved.

However, it would be cool to implement a way to just set a number of tracks and have ScrobblerDJ do its thing to load up the Now Playing list with that many songs. I thought I once saw this option, but maybe I was dreaming.

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

Post by Big_Berny » Sun May 07, 2006 10:00 am

Yes, I know taht it's possible if you skip the songs manually, but a auto-mode would be much nicer. Also because I don't want to know the content of the playlist before. I like the surprise! :D

Big_Berny

Paven
Posts: 37
Joined: Mon Jan 23, 2006 5:58 am
Location: Sweden

Post by Paven » Tue May 09, 2006 3:04 am

I looked at the code and found a place to mood to my likings..
line 96

By rem this lines the script will add songs even if it isn't the last song in the now playing list, wich works bether for me..

as i posted in a post above this lets the player continue longer even if the songs are missing or broken..

maybee next version could have this as an option?

Code: Select all

    'check its the last song
    Dim ind, tot
    ind = SDB.Player.CurrentSongIndex + 1
    tot = SDB.Player.CurrentSongList.Count
    'If ind < tot Then
        'logme "Playlist hasn't reached the last song"
        'logme "* ScrobblerDJ exited"

        ' Exit Sub
    'End If
Image

*BERT*

Post by *BERT* » Tue May 09, 2006 1:24 pm

Any response on my bug?

confyoosed
Posts: 41
Joined: Sun Apr 23, 2006 3:22 am

Post by confyoosed » Tue May 09, 2006 1:59 pm

*BERT* wrote:Any response on my bug?
have you set the settings? put number in for each value. like 60 for percent match, etc.

Guest

Post by Guest » Tue May 09, 2006 5:38 pm

I have yes, although i'll admit that i have no idea what the minimum match % should be set at. I started with 0, then put it up to 80.

Settings i have are:

Show Warning on timout = ticked
Timeout = 25
Info show = 15
Minimal Match = 80
No Same Artist = 30
Rating = Any
Include Unknown Rating = ticked

i've messed around with different numbers, but this is what i have set at the mo.

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

Post by trixmoto » Wed May 10, 2006 2:55 am

To be honest, if the dictionary is empty then this is unlikely to be anything to do with the settings. This means that either the XML is not coming back (which could be an internet connection problem) or it is coming back wrong (which I have no why). Hopefully psyxonova will have an answer for you.
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.

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

Post by psyXonova » Wed May 10, 2006 9:40 am

Seems like an internet connection problem to me 2....
The only way for the dictionary to be empty is if there is no connection with the internet or if the Artist is a rare one. Since the second case is out of the question, i guess the problem is internet connectivity.
Nevetheless, i will fix the code so it will be able to detect such connections problems...

PS: Sorry about the delayed answered but the last couple weeks jobs keep me away from the net...

Locked