<?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>WHMCR &#187; Apple</title> <atom:link href="http://www.whmcr.com/category/apple/feed/" rel="self" type="application/rss+xml" /><link>http://www.whmcr.com</link> <description>Just another WordPress site</description> <lastBuildDate>Tue, 06 Dec 2011 16:48:41 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>iPhone to Android SMS Converstion Script</title><link>http://www.whmcr.com/2010/05/25/iphone-to-android-sms-converstion-script/</link> <comments>http://www.whmcr.com/2010/05/25/iphone-to-android-sms-converstion-script/#comments</comments> <pubDate>Tue, 25 May 2010 10:56:29 +0000</pubDate> <dc:creator>welby</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Apple]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[iPhone]]></category> <category><![CDATA[Andorid]]></category> <category><![CDATA[Linux]]></category><guid
isPermaLink="false">http://www.whmcr.com/?p=134</guid> <description><![CDATA[As promised here&#8217;s a copy of my iPhone to Android script. Just a quick and dirty python script that reads in a backup from itunes and converts it to a bit of XML able to be read in by SMS Backup and &#8230; <a
href="http://www.whmcr.com/2010/05/25/iphone-to-android-sms-converstion-script/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>As promised here&#8217;s a copy of my iPhone to Android script. Just a quick and dirty python script that reads in a backup from itunes and converts it to a bit of XML able to be read in by SMS Backup and Restore on the android platform</p><div
class="my_syntax_box"><span
class="my_syntax_selecall"><a
href="javascript:;" onclick="selectCode(this); return false;">Selec All</a> </span><span
class="my_syntax_Bar">Code:</span><div
class="my_syntax"><div
class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">from</span> sqlite3 <span style="color: #ff7700;font-weight:bold;">import</span> *
<span style="color: #ff7700;font-weight:bold;">from</span> sqlite3 <span style="color: #ff7700;font-weight:bold;">import</span> *
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">xml</span>.<span style="color: black;">sax</span>.<span style="color: black;">saxutils</span> <span style="color: #ff7700;font-weight:bold;">import</span> escape
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">codecs</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">re</span>
f <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">codecs</span>.<span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'sms.xml'</span><span style="color: #66cc66;">,</span><span style="color: #483d8b;">'w'</span><span style="color: #66cc66;">,</span><span style="color: #483d8b;">'utf-8'</span><span style="color: black;">&#41;</span>
f.<span style="color: black;">write</span> <span style="color: black;">&#40;</span><span style="color: #483d8b;">'''&lt; ?xml version='1.0' encoding='UTF-8' standalone='yes' ?&gt;
&lt;smses&gt;
'''</span><span style="color: black;">&#41;</span>
<span style="color: #808080; font-style: italic;"># This is 31bb7ba8914766d4ba40d6dfb6113c8b614be442.mddata or 31bb7ba8914766d4ba40d6dfb6113c8b614be442.mdbackup usally</span>
c <span style="color: #66cc66;">=</span> connect<span style="color: black;">&#40;</span><span style="color: #483d8b;">'sms.db'</span><span style="color: black;">&#41;</span>
curs <span style="color: #66cc66;">=</span> c.<span style="color: black;">cursor</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
curs.<span style="color: black;">execute</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'''SELECT address,date,text,flags FROM message WHERE flags &amp;lt;5 ORDER BY date asc'''</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">for</span> row <span style="color: #ff7700;font-weight:bold;">in</span> curs:
        a<span style="color: #66cc66;">=</span> escape<span style="color: black;">&#40;</span><span style="color: #008000;">unicode</span><span style="color: black;">&#40;</span>row<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
        d <span style="color: #66cc66;">=</span> escape<span style="color: black;">&#40;</span><span style="color: #008000;">unicode</span><span style="color: black;">&#40;</span>row<span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
        t <span style="color: #66cc66;">=</span> row<span style="color: black;">&#91;</span><span style="color: #ff4500;">3</span><span style="color: black;">&#93;</span>-<span style="color: #ff4500;">1</span>
        t <span style="color: #66cc66;">=</span> <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>t<span style="color: black;">&#41;</span>
        b <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">re</span>.<span style="color: black;">sub</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'&quot;'</span><span style="color: #66cc66;">,</span><span style="color: #483d8b;">&quot;'&quot;</span><span style="color: #66cc66;">,</span>escape<span style="color: black;">&#40;</span><span style="color: #008000;">unicode</span><span style="color: black;">&#40;</span>row<span style="color: black;">&#91;</span><span style="color: #ff4500;">2</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
&nbsp;
        f.<span style="color: black;">write</span><span style="color: black;">&#40;</span> <span style="color: #483d8b;">'&lt;sms protocol=&quot;0&quot; address=&quot;'</span>+a+<span style="color: #483d8b;">'&quot; date=&quot;'</span>+d+<span style="color: #483d8b;">'000&quot; type=&quot;'</span>+t+<span style="color: #483d8b;">'&quot; subject=&quot;null&quot; body=&quot;'</span>+b+<span style="color: #483d8b;">'&quot; toa=&quot;0&quot; sc_toa=&quot;0&quot; service_center=&quot;null&quot; read=&quot;1&quot; status=&quot;-1&quot; /&gt;'</span>+<span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: black;">&#41;</span>
f.<span style="color: black;">write</span><span style="color: black;">&#40;</span>
<span style="color: #483d8b;">'''&lt;/smses&gt;'''</span> <span style="color: black;">&#41;</span></pre></div></div></div>]]></content:encoded> <wfw:commentRss>http://www.whmcr.com/2010/05/25/iphone-to-android-sms-converstion-script/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>iPhone to Android</title><link>http://www.whmcr.com/2010/04/16/iphone-to-android/</link> <comments>http://www.whmcr.com/2010/04/16/iphone-to-android/#comments</comments> <pubDate>Fri, 16 Apr 2010 15:41:22 +0000</pubDate> <dc:creator>welby</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Software]]></category><guid
isPermaLink="false">http://www.whmcr.com/?p=127</guid> <description><![CDATA[I&#8217;m in the process of migrating from my iPhone 3g to an HTC desire. So far i&#8217;m really impressed with the desire, but a full view on it is reserved for a month or so after I&#8217;ve used it day &#8230; <a
href="http://www.whmcr.com/2010/04/16/iphone-to-android/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;m in the process of migrating from my iPhone 3g to an HTC desire. So far i&#8217;m really impressed with the desire, but a full view on it is reserved for a month or so after I&#8217;ve used it day in day out!</p><p>One thing that I did quite want was to have my SMS messages migrated from my iPhone to the Desire. As the iPhone keeps the SMSes in a SQLite DB this wasn&#8217;t to hard. I&#8217;m going to post the procedure and the script I used later!</p> ]]></content:encoded> <wfw:commentRss>http://www.whmcr.com/2010/04/16/iphone-to-android/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Subway using Apple&#039;s &quot;There&#039;s an app for that&quot; slogan ?</title><link>http://www.whmcr.com/2009/09/10/subway-using-apples-theres-an-app-for-that-slogan/</link> <comments>http://www.whmcr.com/2009/09/10/subway-using-apples-theres-an-app-for-that-slogan/#comments</comments> <pubDate>Thu, 10 Sep 2009 15:39:01 +0000</pubDate> <dc:creator>welby</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Non Geeky]]></category> <category><![CDATA[Adverts]]></category> <category><![CDATA[Subway]]></category><guid
isPermaLink="false">http://www.whmcr.com/?p=121</guid> <description><![CDATA[Tagging along at lunch with a few colleagues at work today to the local subway and notice a new set of adverts on the window. It appears that subway are imitating Apple&#8217;s &#8220;there&#8217;s an app for that&#8221;. It turns out &#8230; <a
href="http://www.whmcr.com/2009/09/10/subway-using-apples-theres-an-app-for-that-slogan/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Tagging along at lunch with a few colleagues at work today to the local subway and notice a new set of adverts on the window.<br
/> It appears that subway are imitating Apple&#8217;s &#8220;there&#8217;s an app for that&#8221;. It turns out that this campaign has been done by <a
style="color: #256b7f; padding: 0px; margin: 0px;" href="http://www.mccann.co.uk/" target="_blank">McCann Erickson</a> and is a &#8216;light-hearted&#8217; campaign complete with UK TV adverts. The phrase Imitation is the sincerest form of flattery comes to mind.</p> ]]></content:encoded> <wfw:commentRss>http://www.whmcr.com/2009/09/10/subway-using-apples-theres-an-app-for-that-slogan/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>IRSSI Prowl Notifications</title><link>http://www.whmcr.com/2009/07/09/irssi-prowl-notifications/</link> <comments>http://www.whmcr.com/2009/07/09/irssi-prowl-notifications/#comments</comments> <pubDate>Thu, 09 Jul 2009 16:39:38 +0000</pubDate> <dc:creator>welby</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[iPhone]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[irc]]></category> <category><![CDATA[irssi]]></category><guid
isPermaLink="false">http://www.whmcr.com/?p=112</guid> <description><![CDATA[A quick script to send notifications from IRSSI for privmessages and also for highlights, I&#8217;ll put more commentary on later, but for now.. Selec All Code:use strict; use vars qw&#40;$VERSION %IRSSI&#41;; use Irssi; use LWP::UserAgent; &#160; $VERSION = '0.1'; &#160; &#8230; <a
href="http://www.whmcr.com/2009/07/09/irssi-prowl-notifications/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>A quick script to send notifications from IRSSI for privmessages and also for highlights, I&#8217;ll put more commentary on later, but for now..</p><div
class="my_syntax_box"><span
class="my_syntax_selecall"><a
href="javascript:;" onclick="selectCode(this); return false;">Selec All</a> </span><span
class="my_syntax_Bar">Code:</span><div
class="my_syntax"><div
class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">use</span> strict<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> vars <span style="color: #000066;">qw</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$VERSION</span> <span style="color: #0000ff;">%IRSSI</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> Irssi<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> LWP<span style="color: #339933;">::</span><span style="color: #006600;">UserAgent</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #0000ff;">$VERSION</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'0.1'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #0000ff;">%IRSSI</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>
        authors <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'Welby McRoberts'</span><span style="color: #339933;">,</span>
        contact <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'irssi@whmcr.com'</span><span style="color: #339933;">,</span>
        name <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'irssi_prowler'</span><span style="color: #339933;">,</span>
        description <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'Sends a notification to Prowl to alert an iPhone of a new highlighted message'</span><span style="color: #339933;">,</span>
        url <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'http://www.whmcr.com/2009/07/irssi-prowl-notifications'</span><span style="color: #339933;">,</span>
        changes <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">'Friday, 10 Jun 2009'</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">######## Config</span>
<span style="color: #b1b100;">my</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$PRIV_PRI</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$PRIV_EVENT</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$HI_PRI</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$HI_EVENT</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$APP</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$UA</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$APIKEY</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$PRIV_PRI</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$PRIV_EVENT</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'Private Message'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$HI_PRI</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$HI_EVENT</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'Highlight'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$APP</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'irssi'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$UA</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'irssi_prowler'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$APIKEY</span><span style="color: #339933;">=</span><span style="color: #ff0000;">'7b5d817bd95911b4c049e3034dcf7a96dfa3fb53'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">########</span>
&nbsp;
<span style="color: #666666; font-style: italic;">####### Highlights</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> highlight <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$dest</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$text</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$stripped</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">@_</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$dest</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>level<span style="color: #009900;">&#125;</span> <span style="color: #339933;">&amp;</span> MSGLEVEL_HILIGHT<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;prowl($HI_PRI, $APP, $HI_EVENT, $text)&quot;</span><span style="color: #339933;">;</span>
                prowl<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$HI_PRI</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$APP</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$HI_EVENT</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">####### Private Messages</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> priv <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$server</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$text</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$nick</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$host</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$channel</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">@_</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;prowl($PRIV_PRI, $APP, $PRIV_EVENT, $text)&quot;</span><span style="color: #339933;">;</span>
        prowl<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$PRIV_PRI</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$APP</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$PRIV_EVENT</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">####### Prowl call</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> prowl <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$priority</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$application</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$event</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$description</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">@_</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">my</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$request</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$response</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$url</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$lwp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #ff0000;">'pri: '</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$priority</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #ff0000;">'app: '</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$application</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #ff0000;">'event: '</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$event</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #ff0000;">'description: '</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$description</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">######## Setting up the LWP</span>
        <span style="color: #0000ff;">$lwp</span> <span style="color: #339933;">=</span> LWP<span style="color: #339933;">::</span><span style="color: #006600;">UserAgent</span><span style="color: #339933;">-&gt;</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #339933;">;</span>
        <span style="color: #0000ff;">$lwp</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">agent</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$UA</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;"># URL Encode</span>
        <span style="color: #0000ff;">$application</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">s/([^A-Za-z0-9])/sprintf(&quot;%%%02X&quot;, ord($1))/seg</span><span style="color: #339933;">;</span>
    <span style="color: #0000ff;">$event</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">s/([^A-Za-z0-9])/sprintf(&quot;%%%02X&quot;, ord($1))/seg</span><span style="color: #339933;">;</span>
    <span style="color: #0000ff;">$description</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">s/([^A-Za-z0-9])/sprintf(&quot;%%%02X&quot;, ord($1))/seg</span><span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;"># Setup the url</span>
        <span style="color: #0000ff;">$url</span> <span style="color: #339933;">=</span> <span style="color: #000066;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;https://prowl.weks.net/publicapi/add?apikey=%s&amp;priority=%d&amp;application=%s&amp;event=%s&amp;description=%s&amp;&quot;</span><span style="color: #339933;">,</span>
                                        <span style="color: #0000ff;">$APIKEY</span><span style="color: #339933;">,</span>
                                        <span style="color: #0000ff;">$priority</span><span style="color: #339933;">,</span>
                                        <span style="color: #0000ff;">$application</span><span style="color: #339933;">,</span>
                                        <span style="color: #0000ff;">$event</span><span style="color: #339933;">,</span>
                                        <span style="color: #0000ff;">$description</span>
                                        <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #0000ff;">$url</span><span style="color: #339933;">;</span>
        <span style="color: #0000ff;">$request</span> <span style="color: #339933;">=</span> HTTP<span style="color: #339933;">::</span><span style="color: #006600;">Request</span><span style="color: #339933;">-&gt;</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #009900;">&#40;</span>GET <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #0000ff;">$response</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$lwp</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">request</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$request</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">print</span> <span style="color: #0000ff;">$response</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">####### Bind &quot;message private&quot; to priv()</span>
Irssi<span style="color: #339933;">::</span><span style="color: #006600;">signal_add_last</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;message private&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;priv&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">####### Bind &quot;print text&quot; to highlights()</span>
Irssi<span style="color: #339933;">::</span><span style="color: #006600;">signal_add_last</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;print text&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;highlight&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div></div>]]></content:encoded> <wfw:commentRss>http://www.whmcr.com/2009/07/09/irssi-prowl-notifications/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Issues with OS X 10.5 iTunes 8.1.1 and mt-daapd (aka Firefly Media Server)</title><link>http://www.whmcr.com/2009/05/25/issues-with-os-x-105-itunes-811-and-mt-daapd-aka-firefly-media-server/</link> <comments>http://www.whmcr.com/2009/05/25/issues-with-os-x-105-itunes-811-and-mt-daapd-aka-firefly-media-server/#comments</comments> <pubDate>Mon, 25 May 2009 18:01:50 +0000</pubDate> <dc:creator>welby</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[iTunes]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[media]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Avahi]]></category> <category><![CDATA[Bonjour]]></category> <category><![CDATA[Bug]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Macintosh]]></category> <category><![CDATA[mt-daapd]]></category> <category><![CDATA[OSX]]></category> <category><![CDATA[Rendezvous]]></category><guid
isPermaLink="false">http://www.whmcr.com/?p=9</guid> <description><![CDATA[I&#8217;ve recently upgraded my iTunes installation on my MacBookPro to 8.1.1 and to my horror found that I&#8217;m no longer able to connect to my DAAP library on my NAS. This is rather strange as the issue has only just &#8230; <a
href="http://www.whmcr.com/2009/05/25/issues-with-os-x-105-itunes-811-and-mt-daapd-aka-firefly-media-server/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;ve recently upgraded my iTunes installation on my MacBookPro to 8.1.1 and to my horror found that I&#8217;m no longer able to connect to my DAAP library on my NAS.</p><p>This is rather strange as the issue has only just appeared in 8.1.1 and does not appear on my windows machines which reside on a different network, and have Bonjour / Rendezvous mDNS traffic broadcast locally by <a
title="RendevousProxy" href="http://ileech.sourceforge.net/index.php?content=RendezvousProxy-News">RendevousProxy</a>. After much annoyance, I decided to do a quick check of what an older iTunes library was sending out, and comparing that to Avahi. It turns out that my Avahi configuration was missing some vital Text Records. This wasn&#8217;t an issue in previous revisions of the iTunes client, but appears to be an issue in 8.1.1.</p><p>I updated my daap.service file in /etc/avahi/services/ to the following</p><div
class="my_syntax_box"><span
class="my_syntax_selecall"><a
href="javascript:;" onclick="selectCode(this); return false;">Selec All</a> </span><span
class="my_syntax_Bar">Code:</span><div
class="my_syntax"><div
class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">standalone</span>=<span style="color: #ff0000;">'no'</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span><span style="color: #808080; font-style: italic;">&lt;!--*-nxml-*--&gt;</span>
<span style="color: #00bbdd;">&lt;!DOCTYPE service-group SYSTEM &quot;avahi-service.dtd&quot;&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;service-group<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name</span> <span style="color: #000066;">replace-wildcards</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>%h<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;service<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>_daap._tcp<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3689<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/port<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;txt-record<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>txtvers=1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/txt-record<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;txt-record<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>iTSh Version=131073<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/txt-record<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;txt-record<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Version=196610<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/txt-record<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/service<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/service-group<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div></div><div>And restarted Avahi for good measure and now can connect to my mt-daapd library again!</div> ]]></content:encoded> <wfw:commentRss>http://www.whmcr.com/2009/05/25/issues-with-os-x-105-itunes-811-and-mt-daapd-aka-firefly-media-server/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using memcached
Database Caching 1/18 queries in 0.025 seconds using memcached
Object Caching 420/454 objects using apc

Served from: whmcr.com @ 2012-02-04 12:06:03 -->
