<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sector-5.net &#187; X-Chat</title>
	<atom:link href="http://sector-5.net/archives/category/programming/x-chat/feed/" rel="self" type="application/rss+xml" />
	<link>http://sector-5.net</link>
	<description></description>
	<lastBuildDate>Wed, 06 Apr 2011 08:40:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>X-Chat plugin: AniDB Search</title>
		<link>http://sector-5.net/archives/x-chat-plugin-anidb-search/</link>
		<comments>http://sector-5.net/archives/x-chat-plugin-anidb-search/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 08:19:58 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[X-Chat]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/x-chat-plugin-anidb-search/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>

<p>PS: No AniDB API calls. Just HTTP fetch and some regexps.</p>

<p>Current: <a href="http://files.sector-5.net/anidbsearch-2.2.py" title="AniDBSearch 2.2">AniDBSearch 2.2</a></p>

<p><span id="more-34"></span></p>

<p>Changelog:</p>

<ul>
<li>2.2

<ul>
<li>Updated AniDB regexps.</li>
<li>Added official Japanese title to output. Be sure to set server encoding to UTF-8, this isn&#8217;t 1990 anymore!</li>
<li>When more than one anime matches the search string, AniDBSearch now prints the first few results instead of just the actual search URL. </li>
<li>Added message throttling to avoid being flooded off during above operation.</li>
<li>No longer uses threaded HTTP fetch on win32. This means that the client will become unresponsive for a while after each command. It also means that the script might now actually work on win32. After some poking around I&#8217;m no longer sure it ever did. If anyone manages to fit threads and the X-Chat Python plugin &#8211; especially xchat.command &#8211;  together, be sure to let me know.</li>
<li>Various other, minor cleanups.</li>
</ul></li>
<li>2.1.4

<ul>
<li>Fixed wrong results when disabling command or trigger (disabling the trigger actually disabled the command and vice versa)</li>
<li>Fixed printing in the wrong context (Thanks to protospork for pointing it out, I never noticed)</li>
</ul></li>
<li>2.1.3

<ul>
<li>Fixed crash due to invalid arguments to /anidb</li>
<li>Fixed exception in connection handler</li>
</ul></li>
<li>2.1.2

<ul>
<li>Updated AniDB URL and regexps</li>
</ul></li>
<li>2.1.1:

<ul>
<li>Added /anidb -b to open AniDB URL in browser</li>
<li>Added /anidb -p to output the URL to the current channel instead of privmsg.<br />
This can be considered a workaround to using .anidb yourself (see below)</li>
<li>Disabled &#8220;Your Message&#8221; hook on win32 &#8211; locks up X-Chat</li>
<li>Fixes for backward compatibility to Python 2.4</li>
</ul></li>
<li>2.1.0:

<ul>
<li>Completely rewritten previous code</li>
</ul></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/x-chat-plugin-anidb-search/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MPCinfo X-Chat plugin, Take 2</title>
		<link>http://sector-5.net/archives/mpcinfo-x-chat-plugin-take-2/</link>
		<comments>http://sector-5.net/archives/mpcinfo-x-chat-plugin-take-2/#comments</comments>
		<pubDate>Wed, 20 Dec 2006 10:04:03 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[X-Chat]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/mpcinfo-x-chat-plugin-take-2/</guid>
		<description><![CDATA[Wasn&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>Wasn&#8217;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.</p>

<p>The new version can be downloaded here:
<a href="http://files.sector-5.net/mpcinfo-1.3.1.rar" title="MPCinfo 1.3.1">MPCinfo 1.3.1</a></p>

<p>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&#8217;ll have to make do with just the essentials. <img src='http://sector-5.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/mpcinfo-x-chat-plugin-take-2/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>MPC Status plugin for X-Chat 2</title>
		<link>http://sector-5.net/archives/mpc-status-plugin-for-x-chat-2/</link>
		<comments>http://sector-5.net/archives/mpc-status-plugin-for-x-chat-2/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 22:16:42 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[X-Chat]]></category>

		<guid isPermaLink="false">http://sector-5.net/archives/mpc-status-plugin-for-x-chat-2/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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 <a href="http://sourceforge.net/project/showfiles.php?group_id=82303&amp;package_id=84358" title="Media Player Classic by Gabest">Media Player Classic</a> to the current channel, similar to mIRC plugins such as <a href="http://www.gts-stuff.com/" title="GTSDll plugin for mIRC">GTSDll</a>, but without all the bloat I&#8217;m not using anyway. The output currently looks like the following example, but should be fairly easy to change if you know what you&#8217;re doing.</p>

<blockquote>[ TwoPoints] <b>MPC</b>: [Eclipse] Itadaki no Hecatetan &#8211; 01 (h264) [81CA68B4].mkv : [00:00/08:04 min (stopped)] : Size: 64.59 mb</blockquote>

<p><span id="more-28"></span></p>

<p>The script itself is using <a href="http://guliverkli.svn.sourceforge.net/viewvc/guliverkli/trunk/guliverkli/src/apps/mpcinfo/" title="mpcinfo.dll Source code">mpcinfo.dll</a> 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&#8217;ll try and recompile the DLL to a native X-Chat plugin one day, who knows.</p>

<p>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.</p>
]]></content:encoded>
			<wfw:commentRss>http://sector-5.net/archives/mpc-status-plugin-for-x-chat-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

