<?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>SysAdmin Adventures &#187; xbmc</title>
	<atom:link href="http://blog.tpa.me.uk/tag/xbmc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 31 Oct 2011 11:09:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>XBMC 9.11 Annoyances</title>
		<link>http://blog.tpa.me.uk/2010/02/21/xbmc-9-11-annoyances/</link>
		<comments>http://blog.tpa.me.uk/2010/02/21/xbmc-9-11-annoyances/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 18:04:52 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[xbmc]]></category>
		<category><![CDATA[enqueue]]></category>
		<category><![CDATA[pause]]></category>
		<category><![CDATA[play]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=303</guid>
		<description><![CDATA[When I upgraded from XBMC 9.04.1 to 9.11 I discovered two major annoyances. The only method I have to access the playlist with my remote in &#8220;keyboard mode&#8221; was to select the playlist option from the on-screen menu in the Project Mayhem III skin, yet the new Confluence skin in 9.11 is missing the playlist [...]]]></description>
			<content:encoded><![CDATA[<p>When I upgraded from XBMC 9.04.1 to 9.11 I discovered two major annoyances.</p>
<ol>
<li>The only method I have to access the playlist with my remote in &#8220;keyboard mode&#8221; was to select the playlist option from the on-screen menu in the Project Mayhem III skin, yet the new Confluence skin in 9.11 is missing the playlist option.</li>
<li>The &#8220;Play&#8221; button on my remote control and media keyboard no longer enqueued content, they only worked to pause/resume playback.</li>
</ol>
<p>Problem 1 was fixed easily.. I downloaded and installed the Project Mayhem III skin that was removed from XBMC in 9.11. I don&#8217;t understand why they did this. I can understand why they changed the default skin for something that looked better on HD outputs, but they shouldn&#8217;t have removed Project Mayhem III completely, it is such a better skin (in my opinion) and is <em>definitely</em> better for lower resolution displays.</p>
<p>Problem 2 was not so easy. In fact I would go so far as to say it was a right royal pain in the arse, completely killed the ease-of-use so much so that we stopped using it until I fixed it and still has no clear explanation for the cause.</p>
<p>In 9.04.1, pressing the Play/Pause button on the remote generates Action 79 (guilib/Key.h):</p>
<div class="codecolorer-container c geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">#define ACTION_PLAYER_PLAY 79 // Play current song. Unpauses song and sets playspeed to 1x. global action, can be used anywhere</span></div></div>
<p>In 9.11, the same keypress in the same configuration generates Action 12:</p>
<div class="codecolorer-container c geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">#define ACTION_PAUSE 12</span></div></div>
<p>In 9.04.1 (on Slackware), the keymap is specified in /usr/share/xbmc/system/Keymap.xml:</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;keymap<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;global<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;keyboard<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; ...<br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Pause<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; ...<br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/keyboard<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/global<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/keymap<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>In 9.11 (on Slackware), the keymap is specified in /usr/share/xbmc/system/keymaps/keyboard.xml:</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;keymap<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;global<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;keyboard<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; ...<br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Pause<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; ...<br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/keyboard<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/global<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/keymap<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>In both cases the keymap is mapping the Play/Pause button to the Pause action and there is no other definition in either set of keymaps to override the <em><global></em> definition for specific menus.</p>
<p>Given the above, for both 9.04.1 and 9.11 the expected behaviour should be for the play_pause button to generate Action 12 (ACTION_PAUSE) and function only as a pause button and not play or enqueue content from a menu, just as it has been doing so far in 9.11. However, in 9.04.1 it hasn&#8217;t been doing this, it has been generating Action 79 (ACTION_PLAYER_PLAY) and therefore acting as a pause during playback, but as a play/enqueue button in menus.</p>
<p>For the life of me I can&#8217;t figure out why. Is it just a bug? Was it just not doing what it was supposed to in 9.04.1 and it was fixed for 9.11? If this is the case why would the chosen behaviour for play_pause be only pause? What is the purpose of Action 12? Surely you would never want a pause button if all it does is implement only one function that is already covered by Action 79?</p>
<p>Thankfully, there is a simple solution that makes it just work for the time being. What you need to do is remap the Play/Pause button from Pause to Play, i.e. from Action 12 to Action 79. You can do this by creating a keymap xml file in your home directory, but I choose to change it in the installation directory so that the change is made for all user accounts.</p>
<p>Edit /usr/share/xbmc/system/keymaps/keyboard.xml and change:</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Pause<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>to</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Play<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/play_pause<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>Having done this, 9.11 is works perfectly and as expected, pausing/resuming playback and also acting to enqueue highlighted menu items.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/02/21/xbmc-9-11-annoyances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XBMC SlackBuild</title>
		<link>http://blog.tpa.me.uk/2009/10/07/xbmc-slackbuild/</link>
		<comments>http://blog.tpa.me.uk/2009/10/07/xbmc-slackbuild/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 15:17:37 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[xbmc]]></category>
		<category><![CDATA[sbopkg]]></category>
		<category><![CDATA[slackbuild]]></category>
		<category><![CDATA[slackbuilds]]></category>
		<category><![CDATA[ymmv]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=215</guid>
		<description><![CDATA[I&#8217;ve had a number of requests for the SlackBuild I used for XBMC on Slackware 13.0. Personally I used Larry Hajali&#8217;s SlackBuild for v9.04.1 (with patches). His post to the Slackbuilds-users Mailing list is here: http://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg02041.html Just in case, I&#8217;m hosting the SlackBuild here too: XBMC v9.04.1 SlackBuild Hopefully Larry&#8217;s will eventually make it onto [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a number of requests for the SlackBuild I used for XBMC on Slackware 13.0.</p>
<p>Personally I used Larry Hajali&#8217;s SlackBuild for v9.04.1 (with patches). His post to the Slackbuilds-users Mailing list is here:<br />
<a href="http://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg02041.html" onclick="pageTracker._trackPageview('/outgoing/www.mail-archive.com/slackbuilds-users_slackbuilds.org/msg02041.html?referer=');">http://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg02041.html</a></p>
<p>Just in case, I&#8217;m hosting the SlackBuild here too:<br />
<a href="http://blog.tpa.me.uk/wp-content/uploads/2009/10/xbmc-old.tar.gz">XBMC v9.04.1 SlackBuild</a></p>
<p>Hopefully Larry&#8217;s will eventually make it onto <a title="SlackBuilds.Org" href="http://slackbuilds.org" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org?referer=');">SlackBuilds.Org</a> so you can install it from there or with <a title="sbopkg" href="http://sbopkg.org" onclick="pageTracker._trackPageview('/outgoing/sbopkg.org?referer=');">sbopkg</a> but until then, this will have to do.</p>
<p>If you want the subversion head, then you can either modify Larry&#8217;s or head over to <a href="http://xbmc.strangled.net/source/xbmc-svn/" onclick="pageTracker._trackPageview('/outgoing/xbmc.strangled.net/source/xbmc-svn/?referer=');">http://xbmc.strangled.net/source/xbmc-svn/</a> where there&#8217;s a SlackBuild script written specifically for the purpose.</p>
<p><strong>DISCLAIMERS:</strong></p>
<ul>
<li><strong>I have only personally used Larry&#8217;s SlackBuild exactly as provided by Larry.</strong></li>
<li><strong>Your Mileage May Vary.</strong></li>
<li><strong>I provide absolutely no guarantee that anything will work as described.</strong></li>
<li><strong>I take no responsibility if the above information breaks your computer, ends your marriage or otherwise destroys your life.</strong></li>
<li><strong>Read the README before doing ANYTHING.</strong></li>
</ul>
<hr />
<p><strong>UPDATE:</strong><br />
Larry has updated the SlackBuild a little:</p>
<blockquote><p>I&#8217;ve made a couple of changes to the slackbuild.  Fixed some<br />
hard coded &#8220;lib/python2.5&#8243; paths in the EventClients Makefile.  The<br />
Nvidia hack in no longer an option and is now done by default.  Now<br />
the the xbmc slackbuild will compile on Slackware64.  XBMC is 64 bit<br />
compatible but by default is not completely lib64 compatible.  Mesa<br />
7.5.1 is now needed from a slackware mirror as it has the required<br />
glxinfo for direct rendering detection.</p>
<p>Thanks to fire|bird from ##slackware for helping me troubleshoot<br />
Slackware64 compilation and to pprkut for additional script cleanup<br />
and testing on Slackware64.</p></blockquote>
<p>The updated version (that I have personally not used or tested) is here:<br />
<a href='http://blog.tpa.me.uk/wp-content/uploads/2009/10/xbmc.tar.gz'>Updated XBMC SlackBuild</a></p>
<hr />
<p><strong>UPDATE 20100222:</strong><br />
Larry has been kind enough to update it to XBMC v9.11 (Camelot) and upload it to <a href="http://slackbuilds.org" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org?referer=');">SlackBuilds.Org</a>. Thank him vociferously!</p>
<p>Thank you, Larry.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/10/07/xbmc-slackbuild/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XBMC: Truly the Greatest Media Centre Software EVER!</title>
		<link>http://blog.tpa.me.uk/2009/09/21/xbmc-truly-the-greatest-media-centre-software-ever/</link>
		<comments>http://blog.tpa.me.uk/2009/09/21/xbmc-truly-the-greatest-media-centre-software-ever/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 11:04:58 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Media]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[xbmc]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[centre]]></category>
		<category><![CDATA[slackbuild]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=152</guid>
		<description><![CDATA[I have been using XBMC for about two weeks now on Slackware-13.0 using an Asus infra-red remote control that presents itself to the machine as a keyboard &#038; mouse. My opinion is thus: it is fantastic!! The interface is beautifully crafted and easy to use. With the remote control I have it&#8217;s easier to use [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using XBMC for about two weeks now on Slackware-13.0 using an Asus infra-red remote control that presents itself to the machine as a keyboard &#038; mouse. My opinion is thus: it is <strong>fantastic!!</strong> The interface is beautifully crafted and easy to use. With the remote control I have it&#8217;s easier to use than an iPod Touch. It all <em>just works</em>. Installation is a breeze as there is a SlackBuild script for it. The script hasn&#8217;t quite made it to the SlackBuilds.Org repository yet, however thanks to a patch from Pat for Slackware-13.0, I expect the XBMC SlackBuild to be accepted at SBo any day now.</p>
<p>The obvious drawback is that it doesn&#8217;t have TV tuner functionality but then it doesn&#8217;t need one. It&#8217;s not what it&#8217;s designed for. If you want TV, go give the MythTV developers a hand to see if we can&#8217;t get that shocking piece of floppyware to be usable again.</p>
<p>I haven&#8217;t even started looking into all the plugins and other bits that are available for XBMC, but the reason is simple: I haven&#8217;t needed to. More often than not, I start going looking through customisations because I&#8217;ve needed at least one to add functionality or fix something in an application. In this case I&#8217;ve yet to discover anything I needed changing.</p>
<h3>XBMC is AWESOME</h3>
<p>End of discussion.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/21/xbmc-truly-the-greatest-media-centre-software-ever/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

