<?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>All Things Scurrilous &#187; Music</title>
	<atom:link href="http://www.scurrilous.com/blog/archives/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scurrilous.com/blog</link>
	<description>What does it mean to be scurrilous? I'll try to demonstrate...</description>
	<lastBuildDate>Tue, 13 Dec 2011 21:57:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Syncing large file libraries over the Internet</title>
		<link>http://www.scurrilous.com/blog/archives/2011/08/23/syncing-large-file-libraries-over-the-internet/</link>
		<comments>http://www.scurrilous.com/blog/archives/2011/08/23/syncing-large-file-libraries-over-the-internet/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 23:27:06 +0000</pubDate>
		<dc:creator>Trevor</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.scurrilous.com/blog/?p=198</guid>
		<description><![CDATA[With the demise of FolderShare, I&#8217;ve found it rather difficult to keep my music library synchronized between home and the office. While there is software you can buy like SuperSync, you can pretty easily achieve a more general solution using free software, with the added benefit of universal OS support (e.g. Windows, Mac OS X, [...]]]></description>
			<content:encoded><![CDATA[<p>With the demise of <a href="http://en.wikipedia.org/wiki/Windows_Live_Mesh#FolderShare_and_Windows_Live_Sync">FolderShare</a>, I&#8217;ve found it rather difficult to keep my music library synchronized between home and the office. While there is software you can buy like <a href="http://www.supersync.com/">SuperSync</a>, you can pretty easily achieve a more general solution using free software, with the added benefit of universal OS support (e.g. Windows, Mac OS X, <em>and</em> Linux).</p>
<p>First, for connectivity between private LANs across the Internet, <a href="https://secure.logmein.com/products/hamachi/download.aspx">Hamachi</a> works very well (and is free for non-commercial use). It&#8217;s supported on Windows and OS X, and <a href="https://secure.logmein.com/US/labs/">in beta for Linux and Windows Mobile</a>. Just install the client on each machine, and you&#8217;ll have a virtual IP address that you can use to securely tunnel over the Internet to other machines in your mesh using any application. I created a LogMeIn account to use Managed mode which (obviously) makes management easier, but Unmanaged mode works as well.</p>
<p>Next, you can use <a href="http://www.samba.org/ftp/rsync/rsync.html">rsync</a> to efficiently copy and synchronize files through the Hamachi tunnel. It&#8217;s usually already installed on Linux and OS X, and can be easily installed on Windows using the <a href="http://www.cygwin.com/">Cygwin</a> <a href="http://cygwin.com/setup.exe">installer</a>.</p>
<p>While Hamachi makes it easy to browse Windows shares (assuming you&#8217;re running Windows) via the tunnel, or even rsync them using a UNC path, the <a href="http://en.wikipedia.org/wiki/Server_Message_Block">SMB</a> protocol is glacially slow. Therefore, you&#8217;ll want to set up the rsync daemon on the machine containing your authoritative version. (While rsync can easily provide two-way synchronization, it is much less risky and mentally taxing to treat one copy as authoritative and access it using a read-only rsync share.) To configure the daemon, you&#8217;ll need to create a file called <a href="http://www.samba.org/ftp/rsync/rsyncd.conf.html">/etc/rsyncd.conf</a> that specifies global and per-library options. On Windows, to share a music library in M:\Music, the file would look like this:</p>
<p><code>use chroot = false<br />
strict modes = false</p>
<p>[Music]<br />
path = /cygdrive/M/Music<br />
read only = true</code></p>
<p>Then you can fire up the rsync daemon simply by running <code>rsync --daemon</code> from a shell, command prompt, Run dialog (Windows+R), etc. rsync won&#8217;t output anything, but you can verify in your process/task manager that it&#8217;s running. If you want the rsync daemon to run automatically as a Windows service, that can be done using <a href="http://web.mit.edu/cygwin/cygwin_v1.3.2/usr/doc/Cygwin/cygrunsrv.README">cygrunsrv</a>, but you&#8217;ll have to refer <a href="http://www.gaztronics.net/rsync.php">elsewhere</a> for instructions.</p>
<p>Finally, to actually sync the library to a client, you&#8217;ll need to enter a slightly gnarly rsync command (which the difficulty of remembering inspired this blog post) on the client:</p>
<p><code>rsync -rtOh --chmod=ugo=rwX --ignore-existing --delete --progress rsync://&lt;server IP from Hamachi client&gt;/Music/* /cygdrive/c/Music</code></p>
<p>This command will copy the everything in the Music module (defined above as M:\Music) to C:\Music, deleting anything in C:\Music that doesn&#8217;t exist in M:\Music. Refer to the <a href="http://www.samba.org/ftp/rsync/rsync.html">rsync man page</a> for details on these options and others, but here&#8217;s a brief explanation:</p>
<ul>
<li>-r, &#8211;recursive: recurse into directories</li>
<li>-t, &#8211;times: preserve modification times (to aid future synchronization)</li>
<li>-O, &#8211;omit-dir-times: omit directories from &#8211;times</li>
<li>-h, &#8211;human-readable: output numbers in a human-readable format (we&#8217;re humans, right?)</li>
<li>&#8211;chmod=ugo=rwX: give new files the destination-default permissions (otherwise they&#8217;ll end up with screwy permissions)</li>
<li>&#8211;ignore-existing: skip updating files that already exist on the destination (unless you want things like MP3 tag changes to trigger lots of delta transfers)</li>
<li>&#8211;delete: delete extraneous files from the receiving side (to avoid accumulating duplicates when files are renamed on the sender)</li>
<li>&#8211;progress: print information showing the progress of the transfer (since it will probably take a long time to sync your whole media library)</li>
</ul>
<p><strong>Note: For your first attempt, you&#8217;ll probably want to also include the <code>-n</code> option, which executes a dry-run, so you don&#8217;t accidentally end up deleting files you didn&#8217;t intend to.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scurrilous.com/blog/archives/2011/08/23/syncing-large-file-libraries-over-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>myFairTunes</title>
		<link>http://www.scurrilous.com/blog/archives/2007/11/21/myfairtunes/</link>
		<comments>http://www.scurrilous.com/blog/archives/2007/11/21/myfairtunes/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 21:35:20 +0000</pubDate>
		<dc:creator>Trevor</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.scurrilous.com/blog/archives/2007/11/21/myfairtunes/</guid>
		<description><![CDATA[I&#8217;m very excited to find that it&#8217;s not difficult at all to remove iTunes DRM from songs purchased from the iTunes Music Store. myFairTunes will convert all your purchased music from M4P to M4A in place, add it back to your iTunes library, and optionally back up the M4P files to another folder and remove [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very excited to find that it&#8217;s not difficult at all to remove iTunes DRM from songs purchased from the iTunes Music Store. myFairTunes will convert all your purchased music from M4P to M4A in place, add it back to your iTunes library, and optionally back up the M4P files to another folder and remove them from iTunes. Since my primary music computer has trouble syncing my iPhone, it&#8217;s very helpful to be able to move the music to another computer that doesn&#8217;t have as much sync trouble.</p>
<p><a href="http://sourceforge.net/projects/myfairtunes">myFairTunes on SourceForge</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scurrilous.com/blog/archives/2007/11/21/myfairtunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personal Jesus</title>
		<link>http://www.scurrilous.com/blog/archives/2006/03/04/personal-jesus/</link>
		<comments>http://www.scurrilous.com/blog/archives/2006/03/04/personal-jesus/#comments</comments>
		<pubDate>Sat, 04 Mar 2006 22:56:54 +0000</pubDate>
		<dc:creator>Trevor</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.scurrilous.com/blog/?p=115</guid>
		<description><![CDATA[I&#8217;ve empirically determined that I really like bands that cover Personal Jesus. The original by Depeche Mode is good, but there have been some great covers: First, I&#8217;ve always been a huge fan of Marilyn Manson&#8217;s covers. Everyone knows his cover of the Eurythmics&#8217; Sweet Dreams (from Smells Like Children), but he&#8217;s also done great [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve empirically determined that I really like bands that cover <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000002KWL&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Personal Jesus</a>. The original by <a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325&#038;path=external-search%3Fsearch-type=ss%26index=music%26keyword=Depeche%20Mode">Depeche Mode</a> is good, but there have been some great covers:</p>
<ul>
<li>First, I&#8217;ve always been a huge fan of <a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325&#038;path=external-search%3Fsearch-type=ss%26index=music%26keyword=Marilyn%20Manson">Marilyn Manson&#8217;s</a> covers. Everyone knows his cover of the <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000002VI0&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Eurythmics&#8217;</a> Sweet Dreams (from <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000001Y7P&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Smells Like Children</a>), but he&#8217;s also done great versions of Screamin&#8217; Jay Hawkins&#8217; <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B0000008TC&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">I Put a Spell on You</a> (from <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000001Y33&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Lost Highway (1997 Film)</a>), Soft Cell&#8217;s <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B0000030KO&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Tainted Love</a>, and Personal Jesus (both on <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B0002Y4T4W&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Lest We Forget: The Best Of</a>).</li>
<li>Gravity Kills has an awesome PJ cover on their <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B00006314P&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Superstarved</a> album. Alternatingly trippy, raspy, and stompy (in that MM Beautiful People way), GK does a great job of making it their own.</li>
<li>The late, great Johnny Cash blew me away with his covers of PJ and Nine Inch Nails&#8217; Hurt (from <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000001Y5Z&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">Downward Spiral</a>) on <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B00006L7XQ&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">American IV: The Man Comes Around</a>.</li>
<li>Finally, my sister just got me Lollipop Lust Kill&#8217;s <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000066JH5&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325">My So Called Knife</a> from my Amazon wishlist. While the cover isn&#8217;t as strong as the others, it&#8217;s still enjoyable, and the rest of the album is really good.</li>
</ul>
<div align="center"><a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&#038;path=ASIN/B000002KWL&#038;tag=allthingsscur-20&#038;camp=1789&#038;creative=9325"><img border="0" src="http://images.amazon.com/images/P/B000002KWL.01._AA_SCMZZZZZZZ_.jpg"/></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.scurrilous.com/blog/archives/2006/03/04/personal-jesus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

