<?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>atc &#187; media</title>
	<atom:link href="http://blog.beplacid.net/tag/media/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.beplacid.net</link>
	<description>Musings of technology, sport, life et al</description>
	<lastBuildDate>Thu, 10 Jun 2010 10:24:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sky Songs and Linux</title>
		<link>http://blog.beplacid.net/2009/12/15/sky-songs-and-linux/</link>
		<comments>http://blog.beplacid.net/2009/12/15/sky-songs-and-linux/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 22:55:02 +0000</pubDate>
		<dc:creator>atc</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NoNeedForWindows]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Quick post]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[sky]]></category>

		<guid isPermaLink="false">http://blog.beplacid.net/?p=104</guid>
		<description><![CDATA[If you want to use the Sky Songs download client in Linux (say Ubuntu or Debian), just paste the following into a file called skysongs in $HOME/bin and then chmod a+x it:
cd $SKY_SONGS_DIR; /usr/bin/java -cp . -jar downloader.jar $*
Note, $SKY_SONGS_DIR should be changed to your installation directory. If you used wine to install Sky Songs, [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to use the <strong>Sky Songs download client in Linux</strong> (say Ubuntu or Debian), just paste the following into a file called skysongs in $HOME/bin and then chmod a+x it:<br />
<code>cd $SKY_SONGS_DIR; /usr/bin/java -cp . -jar downloader.jar $*</code></p>
<p><span style="text-decoration: underline;"><strong>Note</strong></span>, $SKY_SONGS_DIR should be changed to your installation directory. If you used <strong>wine</strong> to install Sky Songs, have a look under <strong>/home/YOURUSERNAME/.wine/drive_c/windows/profiles/YOURUSERNAME/Local Settings/Application Data/Sky  Songs/</strong>.</p>
<p>Sky Songs works by giving you &#8220;SKS&#8221; files that describe to its client (&#8220;<strong>Sky Songs MP3 Downloader</strong>&#8220;) what and how to download; i.e. your songs. Once you&#8217;ve downloaded one (say Renegades.sks; the &#8220;Renegades&#8221; album by Rage Against the Machine), just execute the skysongs script as follows:<br />
<code>alex@prometheus:~/Music$ skysongs Renegades.sks</code></p>
<p>Thankfully the Sky Songs download client is written in Java so it&#8217;s not only cross-platform but its structure is obvious.</p>
<p>Please note that these instructions are absolutely not intended for circumventing Sky&#8217;s download procedure, nor are they to be used to break the Terms of Service you&#8217;re most likely bound to by law. This information is purely for educational purposes and to assist those who are new to Linux get to grips with their everyday software in a new environment.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.beplacid.net%2F2009%2F12%2F15%2Fsky-songs-and-linux%2F';
  addthis_title  = 'Sky+Songs+and+Linux';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://blog.beplacid.net/2009/12/15/sky-songs-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xbox 360 Debian/Ubuntu Linux &#8211; Media (video, music) Streaming</title>
		<link>http://blog.beplacid.net/2008/11/24/xbox-360-debianubuntu-linux-media-video-music-streaming/</link>
		<comments>http://blog.beplacid.net/2008/11/24/xbox-360-debianubuntu-linux-media-video-music-streaming/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 22:40:12 +0000</pubDate>
		<dc:creator>atc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[NoNeedForWindows]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[XBox 360]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[upnp]]></category>
		<category><![CDATA[ushare]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://blog.beplacid.net/2008/11/24/xbox-360-debianubuntu-linux-media-video-music-streaming/</guid>
		<description><![CDATA[Being both a Linux and Xbox fan makes for an interesting time. One of the best features of the Xbox is its streaming from a PC on your LAN. There are various features that the Xbox provides for seamless media streaming (be it videos, music or pictures) but it&#8217;s not as straightforward as it may [...]]]></description>
			<content:encoded><![CDATA[<p>Being both a Linux and Xbox fan makes for an interesting time. One of the best features of the Xbox is its streaming from a PC on your LAN. There are various features that the Xbox provides for seamless media streaming (be it videos, music or pictures) but it&#8217;s not as straightforward as it may seem (at least from what I&#8217;ve seen from various searches).</p>
<p>Xbox media streaming uses the DNLA protocol to receive content from a peer on a network. Using <a href="http://ushare.geexbox.org/" title="uShare Website [new window]" target="_blank"><strong>ushare</strong></a>, you can setup streaming to your Xbox on any Linux machine quite easily. All that&#8217;s needed is libupnp2 (if you&#8217;re running Debian, you may have to install libupnp via the Ubuntu deb as only version 3 is available and the uShare package depends on it explicitly), a minor configuration change and a quick hack to the init script. All of which I&#8217;ll explain now.</p>
<p><strong>Installation (for Debian Sid)</strong></p>
<p><strong>Note:</strong> for Ubuntu, you&#8217;ll just need to run &#8217;sudo apt-get install ushare&#8217; in a shell.  Then skip to the configuration section below.</p>
<p>uShare depends on libupnp2 and unfortunately only version 3 is available (at least in sid). Therefore, you&#8217;ll need to obtain a deb for version 2 (I got the Ubunutu equivalent from <a href="http://ubuntu.dcc.fc.up.pt/pool/universe/libu/libupnp/" title="Ubuntu Libupnp .deb downloads [new window]" target="_blank">here</a> and it works fine). Once you&#8217;ve downloaded a .deb for your architecture, fire up a shell (or &#8216;terminal&#8217;) and enter the following (filenames will differ depending on your arch):<br />
<code><br />
sudo dpkg -i libupnp2_1.4.3-2_amd64.deb<br />
</code></p>
<p>Now that libupnp2 is installed, you&#8217;ll need to get a deb for uShare or alternatively (and best, because you&#8217;ll get updates via apt) is to add the uShare apt repository to your sources.list. Open /etc/apt/sources.list as root (using sudo):</p>
<p><code>sudo vi /etc/apt/sources.list</code></p>
<p>Now add the following line at the bottom of sources.list:</p>
<p><code>deb http://www.geexbox.org/debian/ unstable main</code></p>
<p>Save and close sources.list. Finally, update your package list:</p>
<p><code>sudo apt-get update</code></p>
<p>Now you&#8217;ll have uShare available via apt. To install it, run the following:<br />
<code><br />
sudo apt-get install ushare</code></p>
<p><strong>Configuration</strong></p>
<p>Once finished, you&#8217;ll have uShare installed and ready for configuration. Out of the box, it won&#8217;t provide much apart from a daemon listening on a random port (defined as part of IANA Dynamic Ports range). You&#8217;ll need to edit /etc/ushare.conf to enable Xbox compatibility as well as define the standard port &#8211; 49200. Open /etc/ushare.conf as root and change the following lines:</p>
<p><code>USHARE_PORT=49200<br />
USHARE_DIR=/path/to/your/media<br />
ENABLE_XBOX=YES</code></p>
<p>Before these changes will take effect, you&#8217;ll need to restart ushare using its init script. However, an issue I&#8217;ve noticed is that the last line (&#8216;ENABLE_XBOX=YES&#8217;) does not always work. So before we restart uShare, we&#8217;ll need to make a small change to the init script that resides under /etc/init.d/ to force Xbox compatibility:</p>
<p><code>sudo vi /etc/init.d/ushare</code></p>
<p>and add the following line at the <strong>beginning of the script</strong>:</p>
<p><code>USHARE_OPTIONS=-x<br />
</code><br />
This tells uShare to start with Xbox compatibility. Now restart uShare using the init script:</p>
<p><code>invoke-rc.d ushare restart</code></p>
<p>And you&#8217;re done. Almost. :) You <em>may</em> need to restart your Xbox for it to recognise your Linux machine (although the use of UPnP &#8211; Universal Plug &#8216;n&#8217; Play &#8211; would suggest otherwise). Once you&#8217;ve done that (or if you&#8217;re brave), navigate to &#8216;My Xbox&#8217; and then select &#8216;Videos&#8217; and finally you should see &#8216;uShare&#8217; at the bottom (computer icon). Selecting that will connect to your Linux box and you&#8217;ll be able to browse your media just as you would on your PC. Awesome!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.beplacid.net%2F2008%2F11%2F24%2Fxbox-360-debianubuntu-linux-media-video-music-streaming%2F';
  addthis_title  = 'Xbox+360+Debian%2FUbuntu+Linux+%26%238211%3B+Media+%28video%2C+music%29+Streaming';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://blog.beplacid.net/2008/11/24/xbox-360-debianubuntu-linux-media-video-music-streaming/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>
