INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: last.fm problems  (Read 1651 times)

lordhong

  • Member
  • *
  • Posts: 2
last.fm problems
« on: January 29, 2008, 01:43:20 pm »

Been running last.fm plugin fine for a while until lately when the last.fm web site started having heavy problems with timeouts.

My problem seems to be that the MC 12 plug in for last.fm doesn't behave properly with last.fm in regards to their spam filter. Let me try to explain...

If I listen to three tracks, A, B and C. A is submitted to last.fm, goes fine. B then gets a timeouts from the submission server at last.fm and gets queued in MC for submission, all fine up to here. C plays, get submitted before B is resubmitted, C is accepted. However whenever B will manage to get submitted, it will be rejected by last.fm because of the spam filter (it was played earlier than my last submission, track C).

With the awful lots of timeouts I get from last.fm, about half of my songs gets submitted and the rest are killed by the spam filter. I didn't have this problem a month ago, so I doubt it's something on my end that has changed...

Is there a way to set the plug-in so that it keeps resubmitting the same track before attempting to submit a new one?
Logged

sithlord0338

  • Regular Member
  • World Citizen
  • ***
  • Posts: 110
  • nothing more to say...
Re: last.fm problems
« Reply #1 on: January 29, 2008, 02:04:30 pm »

I have seen this behavior as well.
Logged

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm problems
« Reply #2 on: January 29, 2008, 02:22:46 pm »

It has happened to me too. As you say, an option to keep it from resubmitting ahead of order of play would probably be a good solution.

But usually it isn't that much of a problem, because when last.fm doesn't respond for me, it doesn't respond indiscriminately... So what happens most of the times is that as I start MC the next day, everything will be submitted in turn.
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: last.fm problems
« Reply #3 on: January 29, 2008, 04:17:32 pm »

If you do not go onto the next track it is possible that the entire submission queue could block because of that one track.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm problems
« Reply #4 on: January 29, 2008, 04:48:26 pm »

If you do not go onto the next track it is possible that the entire submission queue could block because of that one track.

Why would submitting the next track be easier than resubmitting a queued track? Is the submitted data packet somehow different?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: last.fm problems
« Reply #5 on: January 30, 2008, 04:05:00 am »

Each track is assigned a timestamp when it is played.

By default when a track fails to submit it gets pushed to the end of the queue and the next track is attempted.   last.fm changed their code to refuse tracks with a timestamp prior to the last successfully submitted track (although there is a bit of leeway).

This is the problem people are seeing.

To get around this I could keep reattempting the current track however as I said it is entirely possible that this can hold up the entire submission process if the track is refused due to some other reason, e.g. bad tags.


I suppose I could add an option to reapply the timestamp when the submission is reattempted but this will lose the real playback time.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm problems
« Reply #6 on: January 30, 2008, 05:13:55 am »

Each track is assigned a timestamp when it is played.

By default when a track fails to submit it gets pushed to the end of the queue and the next track is attempted.   last.fm changed their code to refuse tracks with a timestamp prior to the last successfully submitted track (although there is a bit of leeway).

This is the problem people are seeing.

I already understood all this, but I thought the reason for unsuccesful submission was a connection timeout problem. Doesn't the server provide feedback when the submission is refused because of bad data?

Quote
To get around this I could keep reattempting the current track however as I said it is entirely possible that this can hold up the entire submission process if the track is refused due to some other reason, e.g. bad tags.

If a file is refused because of incorrect format and the server provides feedback about the reason naturally the file should be removed from the list. (Though, if the used protocol does not create checksums and cannot resend a bad packet it should do a few retries for eliminating a possible data transfer error.)

Quote
I suppose I could add an option to reapply the timestamp when the submission is reattempted but this will lose the real playback time.

This would be better than to not submit at all. The timestamp would be from the same hour or day anyway.

In general, there is no sense in keeping the file in the queue if the submission is not possible anymore because of a newer successful submission.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755
Pages: [1]   Go Up