Author Topic: XMPlay Last.fm/Audioscrobbler plugin (xmp-scrobbler)  (Read 539724 times)

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #250 on: 9 Oct '06 - 22:14 »
I had already deleted the old cache and logs. :\ But as "luck" would have it I ran across the same problem again today. I've zipped up both files and temporarily uploaded them to http://www.dutchfurs.com/~haze/junk/scrobbler.zip for your "enjoyment". ;) I hope these'll help a bit!

I don't see anything unusual in this log file. Last.fm server responds "Database too busy - try later" so xmp-scrobbler puts tracks to cache and they should be submitted later. Personally, I haven't lost any of my submissions yet, cache always worked fine for me, even if it was quite big - everything got submitted, so I can't reproduce it. Hm, so after you deleted this cache file from your XMPlay directory - xmp-scrobbler started submitting tracks again? This may be because xmp-scrobbler tries to submit 5 tracks at once when cache size if greater than 5 - maybe in your case Last.fm server could accept submissions of single tracks, but not more at once...? This never happened to me, Last.fm server always eventually accepted everything, so it's kind of weird and I don't have too many ideas on how to solve it... Could you just continue to listen to music, even if xmp-scrobbler doesn't submit anything, then close XMPlay, let it write tracks to cache, go to sleep :D, the next day try again, Last.fm server failures happen of course, but usually they don't last too long, so your cache should be submitted, but if not - then let me know and bring your log file, we'll see what to do next.
« Last Edit: 9 Oct '06 - 22:16 by yagood »

Zarggg

  • Posts: 1242
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #251 on: 9 Oct '06 - 23:28 »
Oddly enough, now that I'm trying to get a log together, the bug isn't happening. I'll let you know if it does again. :p

HavaR

  • Posts: 38
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #252 on: 18 Oct '06 - 01:14 »
Thanks a lot for working on this plugin, it is very appreciated. I've encountered a bug though.

Tracks stopped submitting on the 15th 18:50 and didn't start submitting again until the 17th 22:42. Everything that was played between those times seem to have not been submitted, at least according to my recent tracks list. I cut the xmp-scrobbler.txt file from the last succesful entry before the error to the first succesful entry after, and I'm attaching it here.

If it would help to see the entire file I could send that too. I saved it in another folder. Hope it helps, and thanks again!

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #253 on: 18 Oct '06 - 10:07 »
Thanks a lot for working on this plugin, it is very appreciated. I've encountered a bug though.

Tracks stopped submitting on the 15th 18:50 and didn't start submitting again until the 17th 22:42. Everything that was played between those times seem to have not been submitted, at least according to my recent tracks list. I cut the xmp-scrobbler.txt file from the last succesful entry before the error to the first succesful entry after, and I'm attaching it here.

If it would help to see the entire file I could send that too. I saved it in another folder. Hope it helps, and thanks again!

Hmm, this log looks very weird. DDE initialization is failing for some reason:

2006-10-16 02:20:54   FAILED: DdeError (unknown?) (XMP_InitDde)

And then it's OK, I'm not sure what could be the cause... Do you use the latest version? I'll prepare next build with more info being written to the log file so that I can try to find out what's happening. Thanks for the report.

HavaR

  • Posts: 38
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #254 on: 18 Oct '06 - 15:13 »
 :-[

I think I may have found out what happened. I was pretty sure I had the newest version, but when I checked the "about" section in options and stuff for xmp scrobbler it said version 3.0! Sure enough I had the newest version in the root XMPlay directory, but I also had version 3.0 in the plugins directory.

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #255 on: 18 Oct '06 - 20:29 »
:-[

I think I may have found out what happened. I was pretty sure I had the newest version, but when I checked the "about" section in options and stuff for xmp scrobbler it said version 3.0! Sure enough I had the newest version in the root XMPlay directory, but I also had version 3.0 in the plugins directory.

I'm not sure that I understand. The latest version of xmp-scrobbler is 0.5b, so it's rather impossible that it says 3.0 in the About dialog.

HavaR

  • Posts: 38
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #256 on: 18 Oct '06 - 23:20 »
My mistake again. I meant to write 0.3. It seems I forgot to delete a previous version of the plugin after downloading the newest version. So I had the version 0.3 dll in my plugins folder and the version 0.5b dll in my XMPlay root folder. I guess that might have been why I got errors? Anyway, I'm sorry for the bother.

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #257 on: 19 Oct '06 - 07:53 »
My mistake again. I meant to write 0.3. It seems I forgot to delete a previous version of the plugin after downloading the newest version. So I had the version 0.3 dll in my plugins folder and the version 0.5b dll in my XMPlay root folder. I guess that might have been why I got errors? Anyway, I'm sorry for the bother.

Oh, I see. Yeah, version 0.3 was quite buggy :-) I hope that everything works just fine now.

Aux

  • Posts: 91
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #258 on: 20 Oct '06 - 12:28 »
Hi guys! I think I will have some free time this weekend. Can not promise anything, but I really want to digg CUE problem, since 40% of my music is encoded such way. So start praynig for the best (: If I find free time (at last), then I will help Yagood a bit :)

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #259 on: 20 Oct '06 - 20:22 »
Hi guys! I think I will have some free time this weekend. Can not promise anything, but I really want to digg CUE problem, since 40% of my music is encoded such way. So start praynig for the best (: If I find free time (at last), then I will help Yagood a bit :)

Wow, thanks, that would be great! I'm currently in the middle of probably most busiest period in my life so far, so I could really use some help with new features. Of course if you decide that you don't have time for this, that's OK, no pressure :-) Thanks for trying anyway!

jairmoreno

  • Posts: 9
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #260 on: 22 Oct '06 - 17:38 »
Hi everybody... i'm so happy with this plugin but i have a small issue.. when i'm using Peerguardian2 it seems to block any transmission to last fm. I have the ability to edit the block lists but can someone post the range of ips that receive the plugin information?..

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #261 on: 22 Oct '06 - 19:45 »
Hi everybody... i'm so happy with this plugin but i have a small issue.. when i'm using Peerguardian2 it seems to block any transmission to last fm. I have the ability to edit the block lists but can someone post the range of ips that receive the plugin information?..


Hm, that's strange, I use PG2 too and xmp-scrobbler traffic isn't blocked by it. Do you use some non-standard lists in PG2? Anyway, xmp-scrobbler makes HTTP connections to post.audioscrobbler.com (62.216.251.200) and current submit URL which is http://62.216.251.205:80/protocol_1.1. Hope this helps.

jairmoreno

  • Posts: 9
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #262 on: 22 Oct '06 - 21:40 »
MM... that's very strange... i don't download any list.. i only downloaded the software and update lists online. When i choose to open P2P list.. i noticed some Last Radio disallowed (range between 12.39.229.32-12.39.229.63).. i allowed it for 15 minutes and scrobbler began to send the songs :S..

When it was blocked by PeerGuardian i only get this in the log
Quote
2006-10-22 09:56:25   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 09:56:25   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:00:33   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:00:33   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:04:40   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:04:41   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:09:13   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:09:13   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:12:19   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:12:19   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:17:09   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:17:09   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:19:49   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:19:49   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:23:36   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:23:36   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:27:19   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:27:19   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:32:04   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:32:04   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:36:14   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:36:14   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:40:46   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:40:46   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:44:46   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:44:46   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:49:57   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:49:57   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:55:08   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:55:08   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 10:58:26   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 10:58:26   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 11:01:52   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 11:01:52   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 11:05:51   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 11:05:51   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 11:11:09   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 11:11:10   [DEBUG] DSP_NewTrack (OPEN)
2006-10-22 11:14:44   [DEBUG] DSP_NewTrack (CLOSE)
2006-10-22 11:14:44   [DEBUG] DSP_NewTrack (OPEN)

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #263 on: 22 Oct '06 - 22:08 »
MM... that's very strange... i don't download any list.. i only downloaded the software and update lists online. When i choose to open P2P list.. i noticed some Last Radio disallowed (range between 12.39.229.32-12.39.229.63).. i allowed it for 15 minutes and scrobbler began to send the songs :S..

When it was blocked by PeerGuardian i only get this in the log (...)

Well, xmp-scrobbler only connects to those two addresses I wrote above, at least it shouldn't make any other connections, so I'm surprised by this IP range... and by your log contents - it should try to reconnect and do handshake again at every submit attempt, but in your log there is nothing between the song begins and ends. Could you attach whole log?

jairmoreno

  • Posts: 9
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #264 on: 22 Oct '06 - 22:16 »
Well, xmp-scrobbler only connects to those two addresses I wrote above, at least it shouldn't make any other connections, so I'm surprised by this IP range... and by your log contents - it should try to reconnect and do handshake again at every submit attempt, but in your log there is nothing between the song begins and ends. Could you attach whole log?

Of course here it's http://jairmoreno.googlepages.com/xmp-scrobbler.zip

Tell me about anything that you need.

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #265 on: 22 Oct '06 - 23:29 »
Of course here it's http://jairmoreno.googlepages.com/xmp-scrobbler.zip

Tell me about anything that you need.

It looks like somewhere between those...

Quote
2006-10-22 08:44:48   [DEBUG] DSP_New()
2006-10-22 09:53:43   [DEBUG] DSP_NewTrack (CLOSE)

...two entries xmp-scrobbler was enabled (in options window) - is that right? Then successful handshake follows, so PG2 is not blocking anything there. But I don't understand why XMPlay isn't calling DSP_SetFormat for tracks which you listened to between 10:00:33 and 11:14:44. Then everything seems to be back to normal... do you remember what tracks were they? Regular MP3s? Hm, maybe it is some bug in xmp-scrobbler after all, but I don't see it yet...

PS. I'm assuming that you are using the latest (0.5b) version?

jairmoreno

  • Posts: 9
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #266 on: 22 Oct '06 - 23:34 »
...two entries xmp-scrobbler was enabled (in options window) - is that right? Then successful handshake follows, so PG2 is not blocking anything there. But I don't understand why XMPlay isn't calling DSP_SetFormat for tracks which you listened to between 10:00:33 and 11:14:44. Then everything seems to be back to normal... do you remember what tracks were they? Regular MP3s? Hm, maybe it is some bug in xmp-scrobbler after all, but I don't see it yet...

PS. I'm assuming that you are using the latest (0.5b) version?

Yep.. im using 0.5b, i don't remember the titles but im sure that at least all songs are well tagged.

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #267 on: 22 Oct '06 - 23:41 »
Yep.. im using 0.5b, i don't remember the titles but im sure that at least all songs are well tagged.

When did you start using PG2? Most of the submissions was successful from what I see in your log, I don't see any major problems with connectivity... is this period between 10:00 and 11:00 on 22th October the only time you had problems? Did you disable plug-in in options window at any time?

jairmoreno

  • Posts: 9
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #268 on: 22 Oct '06 - 23:45 »
I began to use PG2 today at 10:00 am aprox. I hadn't disable the plugin or something like that. that's because i thought that was PG2 but it's running fine now.

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #269 on: 22 Oct '06 - 23:51 »
I began to use PG2 today at 10:00 am aprox. I hadn't disable the plugin or something like that. that's because i thought that was PG2 but it's running fine now.

Well, thanks for your report then. If it's working fine - OK, however some strange things happened according to your log file, I don't know either why this IP range you mentioned has anything to do with Last.fm...

Aux

  • Posts: 91
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #270 on: 24 Oct '06 - 10:53 »
Hello yagood! I've compiled xmp-scrobbler myself, but XMPlay does not load it and I don't understand why. Here's what I've got:

wxDev-C++ 4.9.9.2 (Dev-C++ 4.9.9.2 with wxWidgets form designer);
GCC 3.4.2 packaged with wxDev-C++;
libcurl 7.14.0 (no ssl, packed as Dev-C++ package);
Zlib 1.2.3 (packed as Dev-C++ package);
xmp-scrobbler 0.5b source.

I simply open *.dev project and Ctrl+F9 to compile it. I've also checked my DLL and your with Hiew - mine don't have XMPDSP_* functions exported. I've never made any DLLs with GCC so I don't clearly understand what to do...

P.S. Maybe we can chat somewhere? Or talk by mail?

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #271 on: 24 Oct '06 - 14:43 »
Hello yagood! I've compiled xmp-scrobbler myself, but XMPlay does not load it and I don't understand why. Here's what I've got:

wxDev-C++ 4.9.9.2 (Dev-C++ 4.9.9.2 with wxWidgets form designer);
GCC 3.4.2 packaged with wxDev-C++;
libcurl 7.14.0 (no ssl, packed as Dev-C++ package);
Zlib 1.2.3 (packed as Dev-C++ package);
xmp-scrobbler 0.5b source.

I simply open *.dev project and Ctrl+F9 to compile it. I've also checked my DLL and your with Hiew - mine don't have XMPDSP_* functions exported. I've never made any DLLs with GCC so I don't clearly understand what to do...

Hm, I had some problems with it too at the beginning when I was testing DSP plug-in SDK - XMPlay didn't see my DLL as the plug-in, but then I made some adjustments and it started to work, I don't remember what was that about. Your software versions seem fine, I use similar configuration. Try the latest source code - it's quite messy, but maybe it'll help. Try to rebuild all (CTRL+F11) project.

P.S. Maybe we can chat somewhere? Or talk by mail?

Sure, my e-mail is yagood@o2.pl. Lets move all build-related discussion to e-mails.

Aux

  • Posts: 91
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #272 on: 29 Oct '06 - 15:14 »
Hello once again! I've just finished HIGHLY EXPERIMENTAL version of xmp-scrobbler numbered 0.5x. Before downloading please read some information about this version.

First of all, 0.5x submits music data from CUE sheets ONLY! That means that normal MP3s are NOT submitted!

Secondly this version may have numerous bugs and might not work at all.

And third - I published 0.5x to gather your log files to see what is good and what is bad. So if You like to experiment and to drop me some feedback, then feel free to download this version and play with it. If You want STABLE plug-in then use 0.5b! You may find link to 0.5b in first post in this thread.

P.S. If I finish my work sooner, then I will publish more stable version today. Otherwise it will be published tomorrow.

yagood

  • Posts: 215
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #273 on: 29 Oct '06 - 16:03 »
I've just tried it, works OK. Good job, thanks! When you finish your work on CUE sheets, could you publish the source code or just send it to me? I would like to merge your changes into my source and make next xmp-scrobbler release to avoid confusion with two versions of the plug-in being available at the same time.

Aux

  • Posts: 91
Re: XMPlay Audioscrobbler plugin (xmp-scrobbler)
« Reply #274 on: 29 Oct '06 - 18:22 »
So I've finished my work (: Yeah! xmp-scrobbler 0.5z is here with source code.

What's new? CUE sheets are FULLY supported! Files without CUE are ALSO supported (: Everything else is same as it was before me.

0.5z has at least two bugs which I can not fix right now (I'm simply tired...):

* if You start playing new track and then change current playing position to almost an end, then this track will be submitted as if it was fully played. Do not play with this "feature" too much or You may be banned from last.fm!

* if You change playing position with mouse scroll wheel or simply very fast, then XMPlay will hang.

P.S. 2yagood: there are a LOT of changes in code (: You won't recognize your plug-in! Also there are a lot of comments to help You out. I'd like to say, that my code is FAR from good and needs a lot of cleaning since I did not use C/C++ for many years. That would be nice if You clean it just a bit. Also it would be very nice if You help me find out why my bugs do occur. Maybe not why, but how to fix them - I know why (: But did not figure out yet how to fix.

P.P.S. 2yagood: I've sent three e-mails to You from my e-mail aux@hexmode.org, did You get them?