July 31, 2005
I may be a Python n00b
Despite how pitiful I may currently be at writing Python, I’ve devised what is probably the best script ever written to integrate X-Chat with a media player. My Quintessential Remote script for X-Chat uses AMIP (Advanced mIRC Integration Plugin) to allow for automated reporting (to specific channels) of what’s the player is currently doing. There are plenty of other neat features, including…
- Public player control (in specific channels)
- Public request for report (can be toggled)
- A public command ignore list
- An age prerequisite for automatic reporting of media player status
This might seem like a fairly simple concept, but there is a lot to take into consideration when allowing for automatic reports requested reports. For example, an automatic report might annoyingly repeat a requested report just seconds after the fact; my script prevents this by creating an exemption stack per network/channel/song so that the automatic report can skip songs that have already been reported.
While this script is tailored for Quintessential Player, making it work with other media players, while it can’t likely be done by the configuration alone, shouldn’t be hard. All you need is a file containing the media player’s current status, and command line flags to control the player.



