The Allegory of the Audioscrobbler 1.1

I was going to write an allegory here in the form of five cinquains, but rumor has it that I have been a bit too subtle. Consequently, this is not an allegory at all.

There is a request for audioscrobbler support in vux, and what with audioscrobbler suddenly becoming trendy, I decided to write some preliminary support in Z-Shell, which I have sent to the bug report.

Audioscrobbler 1.1 uses timestamps in the form YYYY-MM-DD HH:MM:SS (which then must be url-encoded). Audioscrobbler 1.2 uses seconds since epoch, so I will refrain from ranting about that further. However, because of the silly timestamp format, I discovered a problem with the strftime built-in.

I am lying; the problem is with the handling of the TZ variable. Luckily, I can mention it here so I can avoid bringing it up in an appropriate forum.

Posted on 2005-05-03
Tags: