<?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>eldamarstreaming &#187; eldamar</title>
	<atom:link href="http://www.eldamar.se/blog/tag/streaming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eldamar.se</link>
	<description>webdesign, linux and lots of other stuff...</description>
	<lastBuildDate>Tue, 19 Apr 2011 07:35:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Streaming content from Mac to Xbox360</title>
		<link>http://www.eldamar.se/blog/2009/06/streaming-content-from-mac-to-xbox360/</link>
		<comments>http://www.eldamar.se/blog/2009/06/streaming-content-from-mac-to-xbox360/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 06:48:31 +0000</pubDate>
		<dc:creator>Samuel Tilly</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[upnp]]></category>
		<category><![CDATA[ushare]]></category>
		<category><![CDATA[xbox360]]></category>

		<guid isPermaLink="false">http://www.eldamar.se/?p=298</guid>
		<description><![CDATA[This post is very old but i think the technique still works, but i recommend using MacPorts over DarwinPort. This weekend i was having trouble finding out a good and easy way to stream video from my mac computer to my xbox360, i needed to do this because xbox360 for some reason wont accept the HFS partition on my [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>This post is very old but i think the technique still works, but i recommend using <a href="http://www.macports.org" target="_blank">MacPorts </a>over DarwinPort.</p></blockquote>
<p>This weekend i was having trouble finding out a good and easy way to stream video from my mac computer to my xbox360, i needed to do this because xbox360 for some reason wont accept the HFS partition on my external drive because i made the partition inside Mac OS using DiskUtility, so i figured why not try to go back to streaming content the way i used to do in the past.</p>
<p>The trouble then was to find a good software that would alow streaming, i first tried to use <a href="http://www.xbmc.org/" target="_blank">XBMC</a> which has a build in UPnP server, but the Xbox360 wont recognize and list that one for some weird reason. Then i remember that i used to have a small software called <a href="http://ushare.geexbox.org/" target="_blank">uShare</a> on my old linux system, and i looked it up and it turns out that there is a port available for this software using <a href="http://darwinports.com/" target="_blank">DarwinPorts</a>. I decided to give it a try and the installation was pritty much straightforward.</p>
<p>After you have installed DarwinPorts to your system you just run the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> ushare</pre></div></div>

<p>and after that you get a sample config in /opt/local/etc/ushare.conf.sample so just make a copy from this to the same directory with the name ushare.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ushare.conf.sample <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ushare.conf</pre></div></div>

<p>now we need to edit some things inside this config file, i personaly like using nano for editing. for this you need first to install nano..</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">nano</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ushare.conf</pre></div></div>

<p>The config is kind of self explanatory, but when it comes to setting up which the network interface you need to write en0 or en1 instead of eth1,eth0 just run the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p>and you can see what interface you are going to run, on my MacBook Pro i use en1 because that is the wireless connection. In the bottom of the config you will find a line that sais ENABLE_XBOX=, this should be set to yes obviously but also this needs to be changed to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #007800;">USHARE_ENABLE_XBOX</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<p>If you don&#8217;t know which path to enter this is how you add your default Movies directory on the mac:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #007800;">USHARE_DIR</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>username<span style="color: #000000; font-weight: bold;">/</span>Movies</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.eldamar.se/blog/2009/06/streaming-content-from-mac-to-xbox360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

