<?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: Show in Pidgin what you&#8217;re listening on Spotify</title>
	<atom:link href="http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify/feed" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 26 Mar 2010 12:55:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Josh Hargreaves</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-4759</link>
		<dc:creator>Josh Hargreaves</dc:creator>
		<pubDate>Sun, 21 Mar 2010 15:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-4759</guid>
		<description>oh it&#039;s alright i&#039;ve managed to get it working</description>
		<content:encoded><![CDATA[<p>oh it&#8217;s alright i&#8217;ve managed to get it working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eetu</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-4216</link>
		<dc:creator>Eetu</dc:creator>
		<pubDate>Thu, 11 Feb 2010 15:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-4216</guid>
		<description>Nice! Is it possible to use this with emesene? 

Sorry my bad english, i&#039;m young boy from Finland :P</description>
		<content:encoded><![CDATA[<p>Nice! Is it possible to use this with emesene? </p>
<p>Sorry my bad english, i&#8217;m young boy from Finland <img src='http://ubuntu-blog.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Foulkes</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-4045</link>
		<dc:creator>Richard Foulkes</dc:creator>
		<pubDate>Sun, 31 Jan 2010 15:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-4045</guid>
		<description>Ugly hack to get it to show artist and track (i think libpurple isn&#039;t sending these properly, at least not across gtalk / jabber)  - edit spotify_util.c , search for &#039;regex&#039; and change that block to look like this:

regex = g_regex_new(&quot;Spotify - (?P.+)&quot;, 0, 0, NULL);
g_regex_match(regex, res-&gt;win_title, 0, &amp;match_info);
res-&gt;playing.artist = g_match_info_fetch_named(match_info, &quot;ARTIST&quot;);
res-&gt;playing.title = g_match_info_fetch_named(match_info, &quot;ARTIST&quot;);

Basically getting all the info from the string into both fields. Also if you run spotify in a different WINEPREFIX than ~/.wine , edit spotify.pl and change spotify_data (e.g. for me:)

    spotify_data_dir = &quot;%s/WineApps/Spotify/drive_c/windows/profiles/%s&quot; \
                       &quot;/Application Data/Spotify/Users/%s-user&quot; \
                       % (home_dir, sys_user, spotify_login)</description>
		<content:encoded><![CDATA[<p>Ugly hack to get it to show artist and track (i think libpurple isn&#8217;t sending these properly, at least not across gtalk / jabber)  &#8211; edit spotify_util.c , search for &#8216;regex&#8217; and change that block to look like this:</p>
<p>regex = g_regex_new(&#8220;Spotify &#8211; (?P.+)&#8221;, 0, 0, NULL);<br />
g_regex_match(regex, res-&gt;win_title, 0, &amp;match_info);<br />
res-&gt;playing.artist = g_match_info_fetch_named(match_info, &#8220;ARTIST&#8221;);<br />
res-&gt;playing.title = g_match_info_fetch_named(match_info, &#8220;ARTIST&#8221;);</p>
<p>Basically getting all the info from the string into both fields. Also if you run spotify in a different WINEPREFIX than ~/.wine , edit spotify.pl and change spotify_data (e.g. for me:)</p>
<p>    spotify_data_dir = &#8220;%s/WineApps/Spotify/drive_c/windows/profiles/%s&#8221; \<br />
                       &#8220;/Application Data/Spotify/Users/%s-user&#8221; \<br />
                       % (home_dir, sys_user, spotify_login)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: defiancee</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-3448</link>
		<dc:creator>defiancee</dc:creator>
		<pubDate>Thu, 10 Dec 2009 21:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-3448</guid>
		<description>Just had a problem with my client. It works now. Thanks for the guide anyway!</description>
		<content:encoded><![CDATA[<p>Just had a problem with my client. It works now. Thanks for the guide anyway!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: defiancee</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-3445</link>
		<dc:creator>defiancee</dc:creator>
		<pubDate>Thu, 10 Dec 2009 20:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-3445</guid>
		<description>Hi. This stopped working for me with a new version of Spotify. Does anyone have a solution?</description>
		<content:encoded><![CDATA[<p>Hi. This stopped working for me with a new version of Spotify. Does anyone have a solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: somedood</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-2952</link>
		<dc:creator>somedood</dc:creator>
		<pubDate>Mon, 09 Nov 2009 21:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-2952</guid>
		<description>Awesome! Works brilliantly :)</description>
		<content:encoded><![CDATA[<p>Awesome! Works brilliantly <img src='http://ubuntu-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hanum</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-2334</link>
		<dc:creator>hanum</dc:creator>
		<pubDate>Thu, 15 Oct 2009 06:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-2334</guid>
		<description>Nice one. Thank&#039;s for info sharing ^_^</description>
		<content:encoded><![CDATA[<p>Nice one. Thank&#8217;s for info sharing ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jjukka</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-780</link>
		<dc:creator>Jjukka</dc:creator>
		<pubDate>Wed, 26 Aug 2009 07:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-780</guid>
		<description>It`s alive, it`s alive!! So it works after all..Thank you very many and goodnight!</description>
		<content:encoded><![CDATA[<p>It`s alive, it`s alive!! So it works after all..Thank you very many and goodnight!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jjukka</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-767</link>
		<dc:creator>Jjukka</dc:creator>
		<pubDate>Tue, 25 Aug 2009 13:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-767</guid>
		<description>Doesn`t work for me. There is spotify setting in plugins but nothing happens when i enabled it?? I`m using Karmic Koala alpha 4</description>
		<content:encoded><![CDATA[<p>Doesn`t work for me. There is spotify setting in plugins but nothing happens when i enabled it?? I`m using Karmic Koala alpha 4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Y</title>
		<link>http://ubuntu-blog.com/show-in-pidgin-what-youre-listening-on-spotify#comment-641</link>
		<dc:creator>Y</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-blog.com/?p=123#comment-641</guid>
		<description>Thank you for this. It made my life so mush easier</description>
		<content:encoded><![CDATA[<p>Thank you for this. It made my life so mush easier</p>
]]></content:encoded>
	</item>
</channel>
</rss>
