<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Now playing for irssi using Last.fm</title>
	<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/</link>
	<description></description>
	<pubDate>Wed, 07 Jan 2009 02:52:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>By: tobbez</title>
		<link>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-15181</link>
		<dc:creator>tobbez</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:42:56 +0000</pubDate>
		<guid>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 - 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-15180</link>
		<dc:creator>jamo</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:18:31 +0000</pubDate>
		<guid>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 <img src='http://blog.ryara.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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-7630</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Tue, 01 Jan 2008 19:31:05 +0000</pubDate>
		<guid>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7630</guid>
		<description>@Possum

My computer says "Add this track to your playlist" to the channel if I use "eq" but with "==" it says what I'm playing and when not playing it echos me "Nothing playing!".

So why not use somethind "bad" if it works when the original doesn'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-7528</link>
		<dc:creator>Possum</dc:creator>
		<pubDate>Tue, 25 Dec 2007 06:36:51 +0000</pubDate>
		<guid>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't believe me, try &lt;code&gt;perl -e 'print "true\n" if ("Add this track to your playlist" == "hi")'&lt;/code&gt;

That said, if you have the same script I downloaded, changing it to == should NEVER work, but will only print "Nothing playing!" 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-7493</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Thu, 20 Dec 2007 14:53:07 +0000</pubDate>
		<guid>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-7493</guid>
		<description>"Add this track to your playlist" part doesn't work with "eq" on my computer, changed it to "==" and now it works.
I don'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-7390</link>
		<dc:creator>tobbez</dc:creator>
		<pubDate>Mon, 10 Dec 2007 19:41:23 +0000</pubDate>
		<guid>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 's,^...........,,;' &#124; recode utf-8..iso-8859-1 ) fetches the last song you've finished listening to, not the one you'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 &#8217;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-7389</link>
		<dc:creator>rene</dc:creator>
		<pubDate>Mon, 10 Dec 2007 14:42:08 +0000</pubDate>
		<guid>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-6998</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Thu, 15 Nov 2007 17:30:20 +0000</pubDate>
		<guid>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-6998</guid>
		<description>So wordpress doesn't like quatation marks?
http://huono.info/npScriptLastFm.pl &#60;&#60;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-6997</link>
		<dc:creator>Salminen</dc:creator>
		<pubDate>Thu, 15 Nov 2007 17:23:40 +0000</pubDate>
		<guid>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 ""
to
grep -A 1 ''</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-6351</link>
		<dc:creator>joff</dc:creator>
		<pubDate>Tue, 16 Oct 2007 02:31:37 +0000</pubDate>
		<guid>http://blog.ryara.net/2007/08/20/now-playing-for-irssi-using-lastfm/#comment-6351</guid>
		<description>Yeah, I get the same "not enough parameters" 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>

<!-- Dynamic Page Served (once) in 0.696 seconds -->
