September 10th, 2009
Mark
I’ve whipped up a quick dll for mIRC to generate random card decks that are as random as possible via random.org
Usage instructions are inside the archive, as is the Delphi source code (requires Indy10 for TIDHttp)
Edit: added alternative sourcecode which uses WinINet instead of Indy10.. results in a smaller DLL
A couple of bugfixes thanks to input from Stu and Darren
Fixes:
- MSN Messenger output didn’t work when an ID3 wasn’t present
- Part of MySQL command wasn’t escaped properly when ID3 wasn’t present

Download here: gen_announce_v0_3_1_71.exe
Deja vu here!
Unfortunately, due to me rushing the last version, I failed to spot a couple of obvious bugs.. these would have manifested themselves when the MySQL output encountered an untagged track
I’ve fixed the bugs now and released a new version
As you can see in the above screenshot – under the MySQL section, there’s an option for a backup command – this is incase gen_announce encounters an untagged track.
In such cases, %s serves as the filename of the track as in previous versions

Download here: gen_announce_v0_3_1_70.exe
Due to some requests I have added some new features to gen_announce..

The format string has now changed from the generic %s which was either “artist – title” or just the title if no tag existed
You can now insert variables of the form %var% where the variable is an ID3 meta data variable..
Here’s a basic list of the variables from ID3v1.1:
- album
- artist
- title
- year
- track
- comment
- genre
So you’ll need to at least replace %s in the configuration with %artist% – %title% if you wanted to maintain the output which previous versions gave
If the variable isn’t recognized or if that meta data doesn’t exist in the ID3 tags (or equivalent tag) of the song, then the output will be null where that variable would’ve been
Download here: gen_announce_v0_3_1_69.exe
I’ve uploaded a new build of gen_announce which fixes the following bugs:
- MySQL Updater thread not being released
- SSH tunnel listener thread not being released
I don’t know how I managed to overlook these two but I sort of rushed it out today as I was rather busy at work!
Download here:
gen_announce_v0_2_1_61.exe.
I’ve just put the finishing touches to the latest version of my Winamp General Plugin gen_announce..
gen_announce has a few different methods of advertising your currently played track:
- mIRC DDE command
- MSN Messenger ‘now playing’
- MySQL SQL Query
It is customisable so you don’t end up advertising the fact that you’re watching a movie cough
gen_announce also includes a SSH tunnel ability, e.g. if you need to be on the same server as your mysql daemon to have access to it, you can tunnel via SSH (assuming you have a SSH account on that server!)
You can download it here: gen_announce_v0_2_1_60.exe.
Edit: I need to look into stopping Markdown formatting links that have underscores in