Winamp song submitter
I wanted to have an information in this page’s footer containing the song I was listening to at last. Since I switched to wordpress on the server and to Ubuntu at home, this is currently not in use.
Here you can see a screenshot of what I am talking about:
I am a confirmed Winamp user (at least for music playback), so I wanted a way to tell Winamp my homepage what song is currently playing. The easiest way of acchieving this was to write a plugin.
The technique used by the plugin is quite straightforward:
Every time a new track starts, it generates a file containing the title of the track. This file is uploaded to the server, where it is processed.
Currently, everything is hardcoded, i.e. server-name, filename, etc. can not be customized. Another issue is that the code uses some insecure methods (for example the
More information can be found in this post.
Note that because I switched to Ubuntu (which doesn’t support winamp as far as I know), I am now using Rhythmbox. However, I also wrote a little script for Rhythmbox to ensure functionality.