<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Now playing for irssi using Last.fm</title>
	<atom:link href="http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/</link>
	<description></description>
	<lastBuildDate>Tue, 25 May 2010 21:24:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tobbez</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-15181</link>
		<dc:creator>tobbez</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-15181</guid>
		<description>Instead of using my script (or any modified version of it) I would recommend to use http://soy.se/code/lastfm.pl instead - it has many more features, and uses a better mechanism to fetch the data (Last.fm API instead of screen scraping).</description>
		<content:encoded><![CDATA[<p>Instead of using my script (or any modified version of it) I would recommend to use <a href="http://soy.se/code/lastfm.pl" rel="nofollow">http://soy.se/code/lastfm.pl</a> instead &#8211; it has many more features, and uses a better mechanism to fetch the data (Last.fm API instead of screen scraping).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamo</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-15180</link>
		<dc:creator>jamo</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-15180</guid>
		<description>here is my tweaked version. shows artist and track. so if not playing right now, shows the last one played.

creds to the original creator :)

http://slug.dy.fi/npScriptLastFm.pl</description>
		<content:encoded><![CDATA[<p>here is my tweaked version. shows artist and track. so if not playing right now, shows the last one played.</p>
<p>creds to the original creator :)</p>
<p><a href="http://slug.dy.fi/npScriptLastFm.pl" rel="nofollow">http://slug.dy.fi/npScriptLastFm.pl</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salminen</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-7630</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Tue, 01 Jan 2008 19:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7630</guid>
		<description>@Possum

My computer says &quot;Add this track to your playlist&quot; to the channel if I use &quot;eq&quot; but with &quot;==&quot; it says what I&#039;m playing and when not playing it echos me &quot;Nothing playing!&quot;.

So why not use somethind &quot;bad&quot; if it works when the original doesn&#039;t?</description>
		<content:encoded><![CDATA[<p>@Possum</p>
<p>My computer says &#8220;Add this track to your playlist&#8221; to the channel if I use &#8220;eq&#8221; but with &#8220;==&#8221; it says what I&#8217;m playing and when not playing it echos me &#8220;Nothing playing!&#8221;.</p>
<p>So why not use somethind &#8220;bad&#8221; if it works when the original doesn&#8217;t?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Possum</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-7528</link>
		<dc:creator>Possum</dc:creator>
		<pubDate>Tue, 25 Dec 2007 06:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7528</guid>
		<description>@Salminen

Ummm.... 

Using == is BAD for strings.  Comparing any two strings with == will return true.  If you don&#039;t believe me, try &lt;code&gt;perl -e &#039;print &quot;true\n&quot; if (&quot;Add this track to your playlist&quot; == &quot;hi&quot;)&#039;&lt;/code&gt;

That said, if you have the same script I downloaded, changing it to == should NEVER work, but will only print &quot;Nothing playing!&quot; every time you use the command.</description>
		<content:encoded><![CDATA[<p>@Salminen</p>
<p>Ummm&#8230;. </p>
<p>Using == is BAD for strings.  Comparing any two strings with == will return true.  If you don&#8217;t believe me, try <code>perl -e 'print "true\n" if ("Add this track to your playlist" == "hi")'</code></p>
<p>That said, if you have the same script I downloaded, changing it to == should NEVER work, but will only print &#8220;Nothing playing!&#8221; every time you use the command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salminen</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-7493</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Thu, 20 Dec 2007 14:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7493</guid>
		<description>&quot;Add this track to your playlist&quot; part doesn&#039;t work with &quot;eq&quot; on my computer, changed it to &quot;==&quot; and now it works.
I don&#039;t know if this feature has something to do with different perl versions.</description>
		<content:encoded><![CDATA[<p>&#8220;Add this track to your playlist&#8221; part doesn&#8217;t work with &#8220;eq&#8221; on my computer, changed it to &#8220;==&#8221; and now it works.<br />
I don&#8217;t know if this feature has something to do with different perl versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobbez</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-7390</link>
		<dc:creator>tobbez</dc:creator>
		<pubDate>Mon, 10 Dec 2007 19:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7390</guid>
		<description>The changes you made does more than speeding it up, you change the functionality as well. The command you provided ( curl --silent http://ws.audioscrobbler.com/1.0/user/$lastfmuser/recenttracks.txt &#124; head -n1 &#124; sed &#039;s,^...........,,;&#039; &#124; recode utf-8..iso-8859-1 ) fetches the last song you&#039;ve finished listening to, not the one you&#039;re currently listening to.</description>
		<content:encoded><![CDATA[<p>The changes you made does more than speeding it up, you change the functionality as well. The command you provided ( curl &#8211;silent <a href="http://ws.audioscrobbler.com/1.0/user/$lastfmuser/recenttracks.txt" rel="nofollow">http://ws.audioscrobbler.com/1.0/user/$lastfmuser/recenttracks.txt</a> | head -n1 | sed &#8216;s,^&#8230;&#8230;&#8230;..,,;&#8217; | recode utf-8..iso-8859-1 ) fetches the last song you&#8217;ve finished listening to, not the one you&#8217;re currently listening to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rene</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-7389</link>
		<dc:creator>rene</dc:creator>
		<pubDate>Mon, 10 Dec 2007 14:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7389</guid>
		<description>thx for this script!!! 

i took a few changes, for me its much faster. 
http://nopaste.info/2d65ee835c.html</description>
		<content:encoded><![CDATA[<p>thx for this script!!! </p>
<p>i took a few changes, for me its much faster.<br />
<a href="http://nopaste.info/2d65ee835c.html" rel="nofollow">http://nopaste.info/2d65ee835c.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salminen</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-6998</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Thu, 15 Nov 2007 17:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-6998</guid>
		<description>So wordpress doesn&#039;t like quatation marks?
http://huono.info/npScriptLastFm.pl &lt;&lt;that is working on my server, and there you can see what I was tryin to say on my previous post.</description>
		<content:encoded><![CDATA[<p>So wordpress doesn&#8217;t like quatation marks?<br />
<a href="http://huono.info/npScriptLastFm.pl" rel="nofollow">http://huono.info/npScriptLastFm.pl</a> &lt;&lt;that is working on my server, and there you can see what I was tryin to say on my previous post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salminen</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-6997</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Thu, 15 Nov 2007 17:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-6997</guid>
		<description>Nice script indeed.

First I had “not enough parameters” errors, but I got this working on my server by changing
grep -A 1 &quot;&quot;
to
grep -A 1 &#039;&#039;</description>
		<content:encoded><![CDATA[<p>Nice script indeed.</p>
<p>First I had “not enough parameters” errors, but I got this working on my server by changing<br />
grep -A 1 &#8220;&#8221;<br />
to<br />
grep -A 1 &#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joff</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/comment-page-1/#comment-6351</link>
		<dc:creator>joff</dc:creator>
		<pubDate>Tue, 16 Oct 2007 02:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-6351</guid>
		<description>Yeah, I get the same &quot;not enough parameters&quot; problem as Ozzee</description>
		<content:encoded><![CDATA[<p>Yeah, I get the same &#8220;not enough parameters&#8221; problem as Ozzee</p>
]]></content:encoded>
	</item>
</channel>
</rss>
