March 23rd, 2007
More useless plugins for X-Chat: AniDBSearch, triggered by channel text starting with .anidb, looks up the search string on AniDB and prints the corresponding AniDB entry url, or the search url if multiple results matching the search string were found. Nothing too fancy. Can also be triggered by typing /anidb.
PS: No AniDB API calls. Just HTTP fetch and some regexps.
Current: AniDBSearch 2.2
Read the rest of this entry »
Posted in Python, X-Chat | 2 Comments »
December 20th, 2006
Wasn’t really that happy with the earlier version of the plugin, so I modified the mpcinfo-Sources to compile as a native Python plugin, thus eliminating the need for a DLL wrapper. This marks the my first time with the Python/C-API. Quite convenient.
The new version can be downloaded here:
MPCinfo 1.3.1
There used to be C++ sources for the .pyd file and some instructions included in the archive, but I unfortunately lost the source and the original archive, so you’ll have to make do with just the essentials.
Posted in Python, X-Chat | 12 Comments »
December 18th, 2006
It seems I finally got my MPCInfo plugin for X-Chat working, as far as not crashing X-Chat after a set amount of time is concerned. The point is, basically, to output the file currently playing in Media Player Classic to the current channel, similar to mIRC plugins such as GTSDll, but without all the bloat I’m not using anyway. The output currently looks like the following example, but should be fairly easy to change if you know what you’re doing.
[ TwoPoints] MPC: [Eclipse] Itadaki no Hecatetan – 01 (h264) [81CA68B4].mkv : [00:00/08:04 min (stopped)] : Size: 64.59 mb
Read the rest of this entry »
Posted in Python, X-Chat | No Comments »
November 29th, 2006
Just a friendly reminder for myself how to get Apache 2.2 and mod_python 3.3.x working again after I wasted almost five hours trying to get it running again after upgrading from an older version and Apache 2.0.54.
Read the rest of this entry »
Posted in Python | No Comments »
July 27th, 2006
The past days I’ve been playing Fire Emblem for Game Boy Advanced again. Highly entertaining and addicting, on a sidenote. Anyway, I was missing some kind of reference on who has support relations to whom, who promotes into what and these kind of things. So, without further ado, I tried writing one myself, using the now quite popular Django Web Framework for Python. After a short learning period things went quite smoothly – until I tried to a bit more complex things in the templating engine, that is.
Read the rest of this entry »
Posted in Programming, Python | No Comments »