MPC Status plugin for X-Chat 2

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

The script itself is using mpcinfo.dll by Gabest and requires Python 2.5 (I believe X-Chat versions >= 2.6.8 are linked against 2.5, so you should be all set if you use a moderately recent version). Since mpcinfo.dll was intended for mIRC use, the exported functions are defined according to mIRC DLL standards, so most of the work in this plugin actually was to wrap the functions to somwhat use them in Python. Maybe I’ll try and recompile the DLL to a native X-Chat plugin one day, who knows.

Unfortunately I can no longer provide the old version since my provider lost it due to a hardware crash and I do not have the files anymore.

Comments are closed.