Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Small bug fixed

Help
2008-02-15
2013-04-23
  • I'm using scrobbler.py in my scroblog commandline scrobbler and I came across a small bug in the flush routine. It doesn't check to see if there are no records to flush, which would be true if there were a multiple of 5 records sent. I just added:

       if len(SUBMIT_CACHE) == 0:
          return True;

    to the top of flush.

    You can read more about scroblog here: http://linuxbraindump.org/2008/01/31/mp3-player-meet-lastfm