<?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>Code-It &#187; Raspberry Pi</title>
	<atom:link href="http://lois.di-qual.net/blog/category/raspberry-pi/feed/" rel="self" type="application/rss+xml" />
	<link>http://lois.di-qual.net/blog</link>
	<description></description>
	<lastBuildDate>Tue, 30 Oct 2012 19:19:29 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Watch TV on Raspberry Pi with OpenELEC media-build</title>
		<link>http://lois.di-qual.net/blog/watch-tv-on-raspberry-pi-with-openelec-media-build/</link>
		<comments>http://lois.di-qual.net/blog/watch-tv-on-raspberry-pi-with-openelec-media-build/#comments</comments>
		<pubDate>Wed, 05 Sep 2012 17:34:55 +0000</pubDate>
		<dc:creator>Loïs Di Qual</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry Pi]]></category>

		<guid isPermaLink="false">http://lois.di-qual.net/blog/?p=107</guid>
		<description><![CDATA[I&#8217;m using an Elgato EyeTV DTT to watch TV on my Macbook Pro. I wanted to use this USB tuner on my Rasperry Pi with Raspbian, but VLC doesn&#8217;t support hardware-accelerated video yet. So I found this post on Tiago Pires&#8217; blog, which describes how to build OpenElec from scratch including media-build. Unfortunately, some things [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m using an <a href="http://www.elgato.com/elgato/int/mainmenu/products/tuner/DTT08/product1.en.html">Elgato EyeTV DTT</a> to watch TV on my Macbook Pro. I wanted to use this USB tuner on my Rasperry Pi with Raspbian, but VLC doesn&#8217;t support hardware-accelerated video yet. So I found <a href="http://tandrepires.wordpress.com/2012/08/01/raspberry-pi-openelec-pvr-dvb-t/">this post</a> on Tiago Pires&#8217; blog, which describes how to build OpenElec from scratch including media-build. Unfortunately, some things are missing in this post, and some others are unnecessary. A lot of things in this post comes from his article, so thank you <img src='http://lois.di-qual.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Media-build is just a script that will get the most up-to-date dvb drivers and include them in OpenElec. I don&#8217;t think it&#8217;s required if your DVB tuner is supported for a longtime by Linux, but let&#8217;s include it anyway.</p>
<p><span id="more-107"></span></p>
<h2>The easy way</h2>
<p>
As I&#8217;m really kind, I built OpenELEC.tv, media-build, and tvheadend for you. Just download these files and go to the &#8220;Create SD-card&#8221; step.
</p>
<ul>
<li><a href="https://docs.google.com/open?id=0B5y4Va3eNoFCbS1Na2xpNkJKZGM">OpenELEC (commit 1355da624e) + media-build (commit 425bf0084e)</a></li>
<li><a href="https://docs.google.com/open?id=0B5y4Va3eNoFCM3dTUjdiQjVhVWs">tvheadend</a>
</ul>
<h2>The hard way &#8211; let&#8217;s build this</h2>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">// Coming soon</div></td></tr></tbody></table></div>
<h2>Create the SD-card</h2>
<p>If you&#8217;re not coming from the build section, just download OpenElec from the top of this post, and put it in a folder. Then, open a terminal and go to this folder.</p>
<p>Insert your SD card, and extract the archive:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ tar zxvf ...</div></td></tr></tbody></table></div>
<p>Then, it depends of what you platform is.</p>
<h3>Linux</h3>
<p>I&#8217;m assuming that <code class="codecolorer text default"><span class="text">/dev/sdb</span></code> is your SDCard device:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo ./create_sdcard /dev/sdb<br />
$ sudo umount /dev/sdb1 &amp;&amp; umount /dev/sdb2</div></td></tr></tbody></table></div>
<h3>OSX</h3>
<p>I made a pending Pull Request on Github to handle OSX SDCard installation. As it&#8217;s not yet merged to the official OpenELEC repo, you&#8217;ll have to go <a href="https://raw.github.com/ldiqual/OpenELEC.tv/650f5a9db89d2c7bbde069ac761cf10f29173f31/packages/tools/bcm2835-bootloader/files/create_sdcard">here</a> and save it to <code class="codecolorer text default"><span class="text">./create_sdcard</span></code>.</p>
<p>Then, assuming that your SDCard is <code class="codecolorer text default"><span class="text">/dev/disk3</span></code>:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo ./create_sdcard /dev/disk3</div></td></tr></tbody></table></div>
<h2>Tvheadend</h2>
<p>Boot your RPi, you should get a beautiful XBMC interface. From your regular computer you should see an <code class="codecolorer text default"><span class="text">openelec</span></code> shared network folder. Extract the <code class="codecolorer text default"><span class="text">tvheadend</span></code> archive somewhere on your computer, and move the resulting folder to <code class="codecolorer text default"><span class="text">openelec/downloads/</span></code>.</p>
<p>On XBMC, go to <code class="codecolorer text default"><span class="text">System -&gt; Settings -&gt; Add-ons -&gt; Install from zip file</span></code>. Then, select thz tvheadend zip file from <code class="codecolorer text default"><span class="text">Home/downloads/service.multimedia.hts-tvheadend/</span></code>. You should get an installation confirmation message. Reboot your RPi.</p>
<p>When your RPi is fully started up, navigate to the following link from your computer&#8217;s browser:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http://RPI_ADDRESS:9981/extjs.html</div></td></tr></tbody></table></div>
<p>Then, navigate to <code class="codecolorer text default"><span class="text">Configuration -&gt; TV Adapters</span></code> and select your adapter in the list. You can now configure your tuner&#8230; and watch TV !</p>
]]></content:encoded>
			<wfw:commentRss>http://lois.di-qual.net/blog/watch-tv-on-raspberry-pi-with-openelec-media-build/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
