I have now, because the datetime submitted also does strange things. Turns out the plugin is submitting the float representation that time.time() returns, whereas the AS protocol expects a "YYYY-MM-DD hh:mm:ss" type of string so I modified scrobbler.py again:
at the top added:
from time import localtime, strftime
and line 101 and up now becomes:
def submit(self, song): tstr = strftime( ("%Y-%m-%d %H:%M:%S", localtime(song.lastplayed[-1])) self.sendInfo( song.artist, song.title, song.album, int(song.length), tstr)
Ok, *please* ignore my last message, this was obviously untrue: the submission already did the float to strftime thing, so the strange times were caused by something else. Maybe last.fm has trouble with timezones or something. (Also my fix above has a parenthesis too many, I really should test first and then mail the list, which is what I'll do now...) -- - eric casteleijn http://www.last.fm/user/thisfred/