<?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>Cuvedev.net &#124; Klaas Cuvelier &#187; Boxee</title>
	<atom:link href="http://www.cuvedev.net/category/boxee/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cuvedev.net</link>
	<description>This is the personal blog and thoughts of Klaas Cuvelier, a young webdeveloper from Ghent</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:52:43 +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>Boxee 1.2.2 on Ubuntu Oneiric Minimal</title>
		<link>http://www.cuvedev.net/2011/12/boxee-1-2-2-on-ubuntu-oneiric-minimal-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=boxee-1-2-2-on-ubuntu-oneiric-minimal-2</link>
		<comments>http://www.cuvedev.net/2011/12/boxee-1-2-2-on-ubuntu-oneiric-minimal-2/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 22:44:15 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Boxee]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[1]]></category>
		<category><![CDATA[1.2.2]]></category>
		<category><![CDATA[miniaml]]></category>
		<category><![CDATA[oneiric]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=4704</guid>
		<description><![CDATA[Update: you can download Boxee 1.5 on their website now: http://blog.boxee.tv/2011/12/26/boxee-1-5-fall-software-update/ &#160; Looking to fix the playback errors, and I&#8217;ll post a walk-through later!]]></description>
			<content:encoded><![CDATA[<p><strong>Update</strong>: you can download Boxee 1.5 on their website now:<br />
<a title="http://blog.boxee.tv/2011/12/26/boxee-1-5-fall-software-update/" href="http://blog.boxee.tv/2011/12/26/boxee-1-5-fall-software-update/"> http://blog.boxee.tv/2011/12/26/boxee-1-5-fall-software-update/</a></p>
<p>&nbsp;</p>
<!-- tweet id : 149615932136886272 --><style type='text/css'>#bbpBox_149615932136886272 a { text-decoration:none; color:#0084B4; }#bbpBox_149615932136886272 a:hover { text-decoration:underline; }</style><div id='bbpBox_149615932136886272' class='bbpBox' style='padding:20px; margin:5px 0; background-color:#022330; background-image:url(http://a0.twimg.com/images/themes/theme15/bg.png); background-repeat:no-repeat'><div style='background:#fff; padding:10px; margin:0; min-height:48px; color:#333333; -moz-border-radius:5px; -webkit-border-radius:5px;'><span style='width:100%; font-size:18px; line-height:22px;'>Got @<a href="http://twitter.com/intent/user?screen_name=boxee" class="twitter-action">boxee</a> 1.2.2 running on <a href="http://twitter.com/search?q=%23ubuntu" title="#ubuntu">#ubuntu</a> oneiroc minimal! Some playback issues. Altough I'm excited! <a href="http://t.co/M7Ph8gTM" rel="nofollow">http://t.co/M7Ph8gTM</a></span><a href='https://twitter.com/#!/klaascuvelier/status/149615932136886272/photo/1' target='_blank'><img src='https://p.twimg.com/AhOK5ciCEAAkG4X.jpg' alt='' style='width: 490px; margin: 20px auto' /></a><div class='bbp-actions' style='font-size:12px; width:100%; padding:5px 0; margin:0 0 10px 0; border-bottom:1px solid #e6e6e6;'><img align='middle' src='http://www.cuvedev.net/wp-content/plugins/twitter-blackbird-pie//images/bird.png' /><a title='tweeted on December 21, 2011 23:23' href='http://twitter.com/#!/klaascuvelier/status/149615932136886272' target='_blank'>December 21, 2011 23:23</a> via <a href="http://twitter.com/#!/download/iphone" rel="nofollow" target="blank">Twitter for iPhone</a><a href='https://twitter.com/intent/tweet?in_reply_to=149615932136886272' class='bbp-action bbp-reply-action' title='Reply'><span><em style='margin-left: 1em;'></em><strong>Reply</strong></span></a><a href='https://twitter.com/intent/retweet?tweet_id=149615932136886272' class='bbp-action bbp-retweet-action' title='Retweet'><span><em style='margin-left: 1em;'></em><strong>Retweet</strong></span></a><a href='https://twitter.com/intent/favorite?tweet_id=149615932136886272' class='bbp-action bbp-favorite-action' title='Favorite'><span><em style='margin-left: 1em;'></em><strong>Favorite</strong></span></a></div><div style='float:left; padding:0; margin:0'><a href='http://twitter.com/intent/user?screen_name=klaascuvelier'><img style='width:48px; height:48px; padding-right:7px; border:none; background:none; margin:0' src='http://a2.twimg.com/profile_images/1406238054/avatar_parijs_normal.jpg' /></a></div><div style='float:left; padding:0; margin:0'><a style='font-weight:bold' href='http://twitter.com/intent/user?screen_name=klaascuvelier'>@klaascuvelier</a><div style='margin:0; padding-top:2px'>Klaas Cuvelier</div></div><div style='clear:both'></div></div></div><!-- end of tweet -->
<p>Looking to fix the playback errors, and I&#8217;ll post a walk-through later!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2011/12/boxee-1-2-2-on-ubuntu-oneiric-minimal-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boxee on Ubuntu Lucid Minimal on Asrock ION 330</title>
		<link>http://www.cuvedev.net/2010/06/boxee-on-ubuntu-lucid-minimal-on-asrock-ion-330/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=boxee-on-ubuntu-lucid-minimal-on-asrock-ion-330</link>
		<comments>http://www.cuvedev.net/2010/06/boxee-on-ubuntu-lucid-minimal-on-asrock-ion-330/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 14:14:27 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Boxee]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Cuvedev]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.4]]></category>
		<category><![CDATA[330]]></category>
		<category><![CDATA[asrock]]></category>
		<category><![CDATA[ion]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[minimal]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[nvidia.ko]]></category>
		<category><![CDATA[restricted]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=224</guid>
		<description><![CDATA[Yesterday I performed a clean install from Ubuntu Lucid Lynx Minimal on my Asrock Ion 330. I followed this guide like I did last time (for an earlier version of Ubuntu Minimal) but I encountered some problems. Here&#8217;s how I solved them. In chapter &#8220;Updating the computer&#8221;, change in the sources.list hardy or intreprid or jaunty by [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Yesterday I performed a clean install from <a href="http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/mini.iso">Ubuntu Lucid Lynx Minimal</a> on my Asrock Ion 330.<br />
I followed <a href="http://forums.boxee.tv/showthread.php?t=5644">this guide</a> like I did last time (for an earlier version of Ubuntu Minimal) but I encountered some problems.</p>
<p>Here&#8217;s how I solved them.</p>
<p>In chapter &#8220;Updating the computer&#8221;, change in the sources.list hardy or intreprid or jaunty by &#8220;lucid&#8221;.<br />
No problems in &#8220;Install sound&#8221;.</p>
<p>The real problems came in &#8220;Installing the graphical environment&#8221;.<br />
When I wanted to install the latest driver for my <a href="http://uk.download.nvidia.com/XFree86/Linux-x86/256.35/NVIDIA-Linux-x86-256.35.run">ION graphics card</a> I always got this error:</p>
<blockquote><p>ERROR: Unable to load the kernel module &#8216;nvidia.ko&#8217;. This is most likely<br />
because the kernel module was built using the wrong kernel source files.<br />
Please make sure you have installed the kernel source files for your<br />
kernel; on Red Hat Linux systems, for example, be sure you have the<br />
&#8216;kernel-source&#8217; rpm installed. If you know the correct kernel source<br />
files are installed, you may specify the kernel source path with the<br />
&#8216;&#8211;kernel-source-path&#8217; commandline option.</p></blockquote>
<p>It took me a while before I found this solution:<br />
Make the file (or edit the file if it already exists)  /etc/default/linux-restricted-modules-common<br />
and add this content:</p>
<blockquote><p>DISABLED_MODULES=&#8221;nv nvidia_new&#8221;</p></blockquote>
<p>Now you should be able to run the installer without problems.</p>
<p>Another small problem was, logging in automatically. In earlier releases of Ubuntu you had to change some commands in /etc/event.d/tty1 (according to the guide mentioned earlier), but in Ubuntu Lucid, the event.d folder doesn&#8217;t exist anymore, and you have to put it in /etc/init/ instead. </p>
<p>Good Luck!</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2010/06/boxee-on-ubuntu-lucid-minimal-on-asrock-ion-330/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Vrt Internetradio Boxee plugin</title>
		<link>http://www.cuvedev.net/2010/04/vrt-internetradio-boxee-plugin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vrt-internetradio-boxee-plugin</link>
		<comments>http://www.cuvedev.net/2010/04/vrt-internetradio-boxee-plugin/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 21:28:48 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Boxee]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[klara]]></category>
		<category><![CDATA[mnm]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[radio 1]]></category>
		<category><![CDATA[radio 2]]></category>
		<category><![CDATA[radio vlaanderen]]></category>
		<category><![CDATA[stubru]]></category>
		<category><![CDATA[vrt]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=165</guid>
		<description><![CDATA[So, I finally finished my second Boxee plugin. This time I can call it a real plugin, there are options, lists and dialogs. Hooray! The plugin is called &#8220;Vrt Internetradio&#8221;, and it basicly plays internet streams from the VRT (Vlaamse Radio- en Televisieomroeporganisatie). The VRT ¬†owns several radio stations and they provide streams to listen [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finally finished my second Boxee plugin. This time I can call it a <em>real</em> plugin, there are options, lists and dialogs. Hooray!</p>
<p>The plugin is called &#8220;Vrt Internetradio&#8221;, and it basicly plays internet streams from the VRT (Vlaamse Radio- en Televisieomroeporganisatie).<br />
The VRT ¬†owns several radio stations and they provide streams to listen to them via the internet. I took the opportunity to use those to make a Boxee plugin so we all can play them with our beloved Boxee.</p>
<p>There&#8217;s not that much functionality, but I tried to keep the layout simple and tried to give a good user experience (up/down buttons to right controls and such).</p>
<p>Screenshots (click for larger picture) and download link are below , don&#8217;t hesitate to comment ¬†and help me improve the plugin.</p>
<p>The main screen:<br />
<a title="The main screen" href="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_main.png" target="_blank" rel="lightbox[165]"><img title="The main screen" src="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_main.png" alt="The main screen" width="300" /></a></p>
<p>Info about a particular station and substations to play:<br />
<a title="Info about a particular station and substations to play" href="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_station.png" target="_blank" rel="lightbox[165]"><img title="Info about a particular station and substations to play" src="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_station.png" alt="Info about a particular station and substations to play" width="300" /></a></p>
<p>Starting a radiostation:<br />
<a title="Starting a radiostation" href="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_play.png" target="_blank" rel="lightbox[165]"><img title="Starting a radiostation" src="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_play.png" alt="Starting a radiostation" width="300" /></a></p>
<p>The options dialog:<br />
<a title="The options dialog" href="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_options.png" target="_blank" rel="lightbox[165]"><img title="The options dialog" src="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_options.png" alt="The options dialog" width="300" /></a></p>
<p>The about dialog:<br />
<a title="The about dialog" href="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_about.png" target="_blank" rel="lightbox[165]"><img title="The about dialog" src="http://www.cuvedev.net/wp-content/uploads/2010/04/vrt_boxee_about.png" alt="The about dialog" width="300" /></a></p>
<p><a href="http://www.cuvedev.net/wp-content/uploads/2010/04/vrtradio.zip" target="_blank">Download here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2010/04/vrt-internetradio-boxee-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Boxee python dev</title>
		<link>http://www.cuvedev.net/2010/04/boxee-python-dev/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=boxee-python-dev</link>
		<comments>http://www.cuvedev.net/2010/04/boxee-python-dev/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:33:05 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Boxee]]></category>
		<category><![CDATA[Cuvedev]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[onload]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[setlabel]]></category>
		<category><![CDATA[textbox]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=156</guid>
		<description><![CDATA[Boxee may be &#8220;the best way to enjoy entertainment from the Internet and computer on your TV&#8221; (according tor their website), the developers documentation isn&#8217;t all that great. Not everything is well-documented and the (python) API doesn&#8217;t always do what&#8217;s expected, which makes developing own plugins not that easy. It isn&#8217;t also always possible to [...]]]></description>
			<content:encoded><![CDATA[<p>Boxee may be <em>&#8220;the best way to enjoy entertainment from the Internet and computer on your TV&#8221;</em> (according tor <a href="http://www.boxee.tv" target="_blank">their website</a>), the developers documentation isn&#8217;t all that great. Not everything is well-documented and the (python) API doesn&#8217;t always do what&#8217;s expected, which makes developing own plugins not that easy.<br />
It isn&#8217;t also always possible to find the right solution with Google. Maybe because not all that much people are developing plugins for Boxee (or the don&#8217;t care to share) or because Google doesn&#8217;t index it well.</p>
<p>So I decided to share the things I found. Let&#8217;s hope google indexes them well and I&#8217;m able to help some fellow developers.</p>
<p><strong>Textbox + SetLabel:</strong><br />
If you have a <a href="http://developer.boxee.tv/Textbox_Control">textbox</a>, it is not possible to change the label via python in an easy way.</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">mc.<span style="color: black;">GetActiveWindow</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>.<span style="color: black;">GetLabel</span><span style="color: black;">&#40;</span><span style="color: black;">&#91;</span><span style="color: #008000;">id</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>.<span style="color: black;">SetLabel</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'text'</span><span style="color: black;">&#41;</span></pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">mc.<span style="color: black;">GetActiveWindow</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>.<span style="color: black;">GetControl</span><span style="color: black;">&#40;</span><span style="color: black;">&#91;</span><span style="color: #008000;">id</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>.<span style="color: black;">SetLabel</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'text'</span><span style="color: black;">&#41;</span></pre></div></div>

<p>don&#8217;t work on a Textbox, and</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">GetTextbox<span style="color: black;">&#40;</span><span style="color: black;">&#91;</span><span style="color: #008000;">id</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span></pre></div></div>

<p>doesn&#8217;t exist.<br />
Setting the label can be done this way:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">xbmc.<span style="color: black;">executebuiltin</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Control.SetLabel([id],[text])'</span><span style="color: black;">&#41;</span></pre></div></div>

<p>and you&#8217;ll have to replace every comma (,) with $COMMA</p>
<p><strong>Onload-tag with a dialog</strong><br />
I&#8217;ve experienced some troubles with the onload-tag in windows with type=&#8221;dialog&#8221;. If you have a <em>normal</em> window, and load a dialog-window in a onclick method with this code, the onload of the dialog won&#8217;t work until you close the dialog:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">&nbsp;
<span style="color: #339933;">&lt;![CDATA[ mc.ActivateWindow(14001) ]]&gt;</span></pre></div></div>

<p>The way to solve this is to dump the python code to load the dialog and just do this:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">	ActivateWindow(14001)</pre></div></div>

<p><strong>Python import gives errors:</strong></p>
<p>It took me a while to figure out, but this error:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">18:54:51 T:2963869696 M:410439680  NOTICE: --<span style="color: #ddbb00;">&amp;gt;</span>Python Interpreter Initialized<span style="color: #ddbb00;">&amp;lt;</span>--
18:54:51 T:2963869696 M:410439680  NOTICE: Traceback (most recent call last):
18:54:51 T:2963869696 M:410439680  NOTICE:   File &quot;&quot;, line 2, in ?
18:54:51 T:2963869696 M:410439680  NOTICE: ImportError
18:54:51 T:2963869696 M:410439680  NOTICE: :
18:54:51 T:2963869696 M:410439680  NOTICE: No module named xxxxxxx
18:54:51 T:2963869696 M:410439680   ERROR: Scriptresult: Error</pre></div></div>

<p>Was caused by a bad window-id. Boxee window-id&#8217;s should be between 14000 and 14099</p>
<p><strong>Close a window with type=&#8221;dialog&#8221;:</strong><br />
If you have opened a window with type=&#8221;dialog&#8221;, it isn&#8217;t possible to close the window with this code:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">CloseWindow(14001)</pre></div></div>

<p>Instead you have to do this:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Dialog.Close(14001)</pre></div></div>

<p>You can also add the &#8220;force&#8221; option (True/False), adding this option will skip all animations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2010/04/boxee-python-dev/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

