<?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>arfore dot com</title>
	<atom:link href="http://arfore.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://arfore.com</link>
	<description>welcome to the foremind</description>
	<lastBuildDate>Sun, 07 Mar 2010 16:59:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tools for adding FLAC and SHN files to your iTunes Library on OS X</title>
		<link>http://arfore.com/2010/03/07/tools-for-adding-flac-and-shn-files-to-your-itunes-library-on-os-x/</link>
		<comments>http://arfore.com/2010/03/07/tools-for-adding-flac-and-shn-files-to-your-itunes-library-on-os-x/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 16:43:56 +0000</pubDate>
		<dc:creator>arfore</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[flac]]></category>
		<category><![CDATA[shn]]></category>
		<category><![CDATA[xact]]></category>
		<category><![CDATA[xld]]></category>

		<guid isPermaLink="false">http://arfore.com/?p=543</guid>
		<description><![CDATA[As some visitors to arfore.com will have noticed I feature a list of recent etree.org downloads on my Listening page.  The files from etree.org are live shows recorded by dedicated fans and concert goers.  Many, if not most, of these recordings are posted in one of two lossless file formats: SHN and FLAC.
Both of these [...]]]></description>
			<content:encoded><![CDATA[<p>As some visitors to arfore.com will have noticed I feature a list of recent etree.org downloads on my Listening page.  The files from etree.org are live shows recorded by dedicated fans and concert goers.  Many, if not most, of these recordings are posted in one of two lossless file formats: SHN and FLAC.</p>
<p>Both of these file formats are used for compressing audio files.  The reason they are used is due to the fact that they are lossless formats.  Lossless compression allows for the expansion of the of the file into an exact duplicate of the original recorded audio stream.</p>
<p>iTunes supports a different lossless format: Apple Lossless.  Unfortunately, iTunes does not support playback of either FLAC or SHN files.  So what is an audiophile to do?  Using two different free programs you will be able to easily convert both FLAC and SHN files to a format that iTunes can use, thus giving you the ability to take those awesome concerts with you everywhere on your iPod or iPhone.<span id="more-543"></span></p>
<h4>Decoding FLAC files to Apple Lossless</h4>
<p>Decoding FLAC files is relatively easy.  Using XLD you can simply open the FLAC file that you download (they are all legal downloads right?) and quickly convert it into one of several available formats.  xACT support the following formats:</p>
<ul>
<li>Input
<ul>
<li>(Ogg) FLAC (.flac/.ogg)</li>
<li>Monkey&#8217;s Audio (.ape)</li>
<li>Wavpack (.wv)</li>
<li>TTA (.tta)</li>
<li>Apple Lossless (.m4a) [10.4 and later]</li>
<li>AIFF, WAV, etc</li>
</ul>
</li>
<li>Output
<ul>
<li>WAVE</li>
<li>AIFF</li>
<li>Raw PCM</li>
<li>Ogg Vorbis (aoTuV)</li>
<li>MPEG-4 AAC (QuickTime/CoreAudio)</li>
<li>MP3 (LAME)</li>
<li>Apple Lossless</li>
<li>FLAC</li>
<li>HE-AAC (aacPlus v1/v2)</li>
<li>Wave64</li>
<li>WavPack</li>
</ul>
</li>
</ul>
<p>As you can see the list of supported formats is pretty extensive.  XLD also supports splitting large files into tracks provided a cue sheet is available with the recording.  Support is also there for using XLD as a CD ripper, allowing you to create FLAC files from the audio cd&#8217;s that you own (for personal consumption only right?).  Files can also be tagged with metadata using the freedb.org project data service.</p>
<h4>SHN need to get the short end</h4>
<p>While XLD is a great program in it&#8217;s own right, it doesn&#8217;t support the older SHN format.  This is not a large problem due to the existence of xACT.  xACT is an Apple-script based GUI frontend for a variety of Unix tools: shntools, Shorten, monkey&#8217;s audio compressor, flac, and cdda2wav.  The cdda2wav functions include paranoia support.</p>
<p>The main shortcoming to xACT is that it only supports the following decoding formats: WAV and AIFF.  While this is not always a drawback, if you have SHN files that you would like to play on a device that only supports mp3 files then you will need to use xACT as a middle-man for another program, like XLD.  iTunes is also capable of importing the WAV and AIFF formats.</p>
<p>xACT also allows you to write out the FLAC tags and uses AtomicParsley to accomplish this.  You can encode files using SHN, FLAC, APE, Wavpack, TTA, and Apple Lossless.  This is great for extracting content from CD directly to a lossless format.  When extracting CD content you also have the ability to create a single file, instead of individual tracks.</p>
<p>I hope that this will help you enjoy those awesome shows while on the road!</p>
<h4>References</h4>
<ul>
<li>XLD &#8211; <a href="http://tmkk.hp.infoseek.co.jp/xld/index_e.html" target="_blank">http://tmkk.hp.infoseek.co.jp/xld/index_e.html</a></li>
<li>xACT &#8211; <a href="http://www.macupdate.com/info.php/id/14246/xact" target="_blank">http://www.macupdate.com/info.php/id/14246/xact</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://arfore.com/2010/03/07/tools-for-adding-flac-and-shn-files-to-your-itunes-library-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why the extra sugar?</title>
		<link>http://arfore.com/2010/03/07/why-the-extra-sugar/</link>
		<comments>http://arfore.com/2010/03/07/why-the-extra-sugar/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 05:28:47 +0000</pubDate>
		<dc:creator>arfore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[honey]]></category>
		<category><![CDATA[peanut butter]]></category>
		<category><![CDATA[sugar]]></category>

		<guid isPermaLink="false">http://arfore.com/?p=546</guid>
		<description><![CDATA[As many of my friends are aware I am a big fan of honey.  As the son of a second-generation beekeeper, I grew up eating honey in many varieties.  I learned early on that all-natural peanut butter mixed with honey was a great combination, and I have eaten it that way ever since.
I use honey [...]]]></description>
			<content:encoded><![CDATA[<p>As many of my friends are aware I am a big fan of honey.  As the son of a second-generation beekeeper, I grew up eating honey in many varieties.  I learned early on that all-natural peanut butter mixed with honey was a great combination, and I have eaten it that way ever since.</p>
<p>I use honey in my tea, I cook with it, and often eat it plain.  In short, I really like honey.</p>
<p>With the major peanut butter companies getting on the bandwagon over the last few years, I am disappointed to see that almost all of them insist on mixing sugar, corn syrup or cane sugar with the peanut butter in addition to honey.  Today while in Wal-mart I noticed a new variety of peanut butter on the shelf and picked it up.  I was drawn to the product labeling which featured a stylized honeybee on the label.  The product was <a href="http://ilovepeanutbutter.com/index.php/peanutbutter/peanut-butter/thebeesknees.html">&#8220;The Bee&#8217;s Knees&#8221; by Peanut Butter &amp; Co</a>.  Upon reading the ingredients list, however, I was saddened to see that while the list was short compared to many others, it still included sugar.</p>
<p>I am continually amazed by all the products that use honey and yet insist on adding additional sweeteners to the ingredients.  Of the four different varieties of peanut butter for sale in Valdosta, I found that all of them included sugar, molasses, cane sugar, natural honey flavor (this is NOT real honey) or some combination thereof, in addition to honey itself:</p>
<ul>
<li><a href="http://ilovepeanutbutter.com/index.php/peanutbutter/peanut-butter/thebeesknees.html">The Bee&#8217;s Knees</a> &#8211; Peanuts, evaporated cane juice, honey, natural honey flavor, palm fruit oil, salt</li>
<li><a href="http://www.peanutbutter.com/products.aspx">Skippy Peanut Butter Roasted Honey Nut</a> (Creamy and Super Chunk) &#8211; Roasted Peanuts, Honey, Sugar, Molasses, Hydrogenated Vegetable Oils (Cottonseed, Soybean and Rapeseed) to Prevent Separation, Salt</li>
<li><a href="http://www.peterpanpb.com/peanut-butter-products/honey-roast-peanut-butter.jsp">Peter Pan Honey Roast</a> (Creamy and Chunky) &#8211; Peanut Butter [Roasted Peanuts, Sugar, Hydrogenated Vegetable Oils (Cottonseed And Rapeseed), Molasses, Salt, Partially Hydrogenated Cottonseed Oil], Sugar And Honey. Contains: Peanuts</li>
<li><a href="http://www.smuckers.com/products/details.aspx?groupId=2&amp;categoryId=11&amp;flavorId=377">Smucker&#8217;s Natural Peanut Butter with Honey</a> &#8211; Peanuts, Honey, Sugar, Salt.</li>
</ul>
<p>Now I must admit that the Smucker&#8217;s choice is much closer to what I ate as a kid than the others, however it still has that extra sugar involved.  It seems to me that if Smucker&#8217;s has been selling natural peanut butter for so many years with the only ingredients being peanuts and salt, then it would have been a snap to just add the honey in and leave it at that.  Why add the extra sugar?</p>
<p>Come on Smucker&#8217;s!  Everyone else has joined the &#8220;natural&#8221; bandwagon that you have been on for years, so why not pave the way to a variety sweetened only with honey?</p>
]]></content:encoded>
			<wfw:commentRss>http://arfore.com/2010/03/07/why-the-extra-sugar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life without cable – Part 2</title>
		<link>http://arfore.com/2010/01/21/life-without-cable-part-2/</link>
		<comments>http://arfore.com/2010/01/21/life-without-cable-part-2/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:00:29 +0000</pubDate>
		<dc:creator>arfore</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Apple TV]]></category>
		<category><![CDATA[cablefree]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[Plex]]></category>

		<guid isPermaLink="false">http://arfore.com/?p=529</guid>
		<description><![CDATA[In my previous post in this series, I laid out my reasons for dropping my monthly cable subscription and my initial choice of the AppleTV as the instrument for maintaining a reasonable method for my viewing entertainment.
One of the main reasons behind the choice of the AppleTV was the fact that it supported 5.1 digital [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous post in this series, I laid out my reasons for dropping my monthly cable subscription and my initial choice of the AppleTV as the instrument for maintaining a reasonable method for my viewing entertainment.</p>
<p>One of the main reasons behind the choice of the AppleTV was the fact that it supported 5.1 digital surround sound through the HDMI cable output.  This made it a snap to connect the device to my <a href="http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10551&amp;storeId=10151&amp;productId=8198552921665364791&amp;langId=-1">Sony STR-DG820 receiver</a> which was connected to my LCD television and 5.1 speaker setup.  Another compelling reason for this choice was the simplicity with which I would be able to connect my iTunes library containing rips of all of my cd and dvd collection to my home entertainment system.<span id="more-529"></span></p>
<p>However, from the first I read with great interest the various accounts of successful hacks that had been applied to the AppleTV to expand it use beyond those set forth by Apple.  I was most interested in the ability to install a browser (Firefox, Safar, WebKit, etc.) and the chance to use Boxee and/or XBMC.</p>
<p>Initially I was drawn to the opensource <a href="http://code.google.com/p/atvusb-creator/">atvusb-creator project</a>, if for no other reason than the fact that it was free.  Of course, the geeky aspects to such a project were no small source of fun, as well.  However, I ended up using the <a href="http://www.atvflash.com/">ATVFlash</a> product in the end since it tied all the various pieces and parts so nicely into a polished interface.  The ATVFlash project incorporated many of the opensource projects that allow AppleTV users to have access to external harddrives, keyboards, mice, non-Apple content providers, not to mention the ability to run <a href="http://www.boxee.tv/">Boxee</a>, <a href="http://xbmc.org/">XBMC</a>, Firefox and a host of other programs.</p>
<p>Along with other intrepid users I rapidly began finding ways to enhance the software with iPhone based remotes for the non-Apple programs.  Using a VNC server I was able to connect my iPhone to the AppleTV to control the mouse and keyboard inputs when browsing.  Later, ATVFlash provided the same level of access with the <a href="http://www.mobileairmouse.com/index.html">Mobile Air Mouse client/server architecture</a>.  I could even install iStatPro on the device to monitor the bandwidth and process usage.</p>
<p>As I delved deeper into the process of using other online providers of content, such as Hulu, I began to realize that the hardware upon which the AppleTV was based limited the amount of usability that one could gain outside of the sandbox that Apple had seen fit to build.  The Boxee project was excellent at giving me access to a multitude of content choices, Hulu, TED, CW, Pandora, last.fm, and many others.  ATVFlash gave me the ability to play content types that were foreign to the AppleTV, such as avi, wmv, and mkv, not to mention the ease of installing Firefox and Flash so that I could watch NBC, FOX and ESPN360.com.</p>
<p>The one thing that these software projects could not do was to give the AppleTV the power to crisply deliver fullscreen Flash content to my LCD or to allow me to play Netflix movies.  There is only just so much that one can accomplish solely through software upgrades, after all.</p>
<p>As I contemplated these shortcomings, I realized that I needed to upgrade my hardware yet again.  The choice then became what platform do I use.  Did I move back to a Linux platform, move to Windows with MediaCenter edition (or even Windows 7), or stick with my beloved Mac platform?</p>
<p>As I stated in my first entry on this subject, my friend Justin was successfully using a hackintosh with the Plex project as an upgrade to his own AppleTV.  After watching the results, I settled on Plex as my software delivery system, yet I could not for various reasons bring myself to go the route of the hackintosh.  As I was unlikely to ever go back to being a complete Windows user again, and since all of the games that I wanted to play were either available for the Mac OS or could easily be played in a VMWare container, I saw nothing to compel me towards anything other than genuine Apple hardware, except possibly price.</p>
<p>With this in mind, I purchased a 2009 2.26GHz Mac Mini at the Apple Store at Lenox Square Mall in Atlanta this past December, where not a year past I had picked up my AppleTV.</p>
<p>My next post in this series will detail some of the software setup that I am currently using as well as some tips for getting the most out of your own Mac Mini home theater setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://arfore.com/2010/01/21/life-without-cable-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life without cable &#8211; Part 1</title>
		<link>http://arfore.com/2010/01/20/life-without-cable-part-1/</link>
		<comments>http://arfore.com/2010/01/20/life-without-cable-part-1/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 14:00:48 +0000</pubDate>
		<dc:creator>arfore</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Apple TV]]></category>
		<category><![CDATA[cablefree]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[Plex]]></category>

		<guid isPermaLink="false">http://arfore.com/?p=524</guid>
		<description><![CDATA[A little over a year ago I joined a growing group of people that are eschewing the cable monopoly for their viewing entertainment.  After many years of being a faithful, if sometimes unwilling, cable subscriber, I realized that there was no financial sense to subscribe to a channel lineup consisting of roughly 80 stations [...]]]></description>
			<content:encoded><![CDATA[<p>A little over a year ago I joined <a href="http://www.hackingnetflix.com/2009/02/customers-dropping-cable-tv-for-online-movies-tv-shows.html">a growing group of people that are eschewing the cable monopoly</a> for their viewing entertainment.  After many years of being a faithful, if sometimes unwilling, cable subscriber, I realized that there was no financial sense to subscribe to a channel lineup consisting of roughly 80 stations simply to enable my self to obtain the content from 8-10 of those stations.</p>
<p>Over the years I had slowly upgraded one piece at a time so that I had gone from a simple cable box to a home-built MythTV setup to a Tivo HD.  Yet after all of these upgrades, I still felt that it was silly to be paying so much money to my local cable provider for so many stations that I never watched.<br />
<span id="more-524"></span></p>
<p>It was, then, with no small amount of interest that I watched the procession of the <a href="http://en.wikipedia.org/wiki/Family_and_Consumer_Choice_Act_of_2007">Family and Consumer Choice Act of 2007</a>, which was supposed to allow families to choose and pay only for the stations that they wanted.  While this grew out of the fervor over the 2004 Super Bowl halftime show where Janet Jackson&#8217;s experienced a &#8220;wardrobe malfunction&#8221;, I was still happy to see that I might finally get a la carte cable.  Unfortunately, this bill never made it out of committee, and as of 2008 had not yet made it to the floor for a vote.</p>
<p>It seems that with all of this that my best option for both saving money overall and controlling what my money went too, was to drop the big cable provider and start using DVD rentals, NetFlix and the internet to obtain the programming I wanted to see.</p>
<p>My first step was to procure an easy-to-use method of playing video on the TV screen.  While I already had a relatively decent DVD player, I had begun to transfer a large portion of my DVD collection to a hard drive connected to my Mac laptop so that I could switch movies more easily.  Thus, in November of 2008 I purchased an AppleTV at the Apple Store in Lenox Square Mall while on holiday to visit my friends in Atlanta.</p>
<p>After setting up the AppleTV and connecting it to my iTunes library, I embarked on a long journey towards completely digitizing my music and movie collection.  This combined with the ability to buy or rent movies and television shows from Apple, went a long way towards my goal of being able to get the majority of the content I wanted without a monthly fee to Mediacom Cable.</p>
<p>Still there was a large chunk missing: live television broadcasts of both dramatic content and live events.  My next post in this series will detail the steps I took to alleviate those holes using the AppleTV as a basis for some ingenious hacking.</p>
]]></content:encoded>
			<wfw:commentRss>http://arfore.com/2010/01/20/life-without-cable-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating your Plex video source file paths</title>
		<link>http://arfore.com/2010/01/19/updating-your-plex-video-source-file-paths/</link>
		<comments>http://arfore.com/2010/01/19/updating-your-plex-video-source-file-paths/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 14:00:30 +0000</pubDate>
		<dc:creator>arfore</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Plex]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://arfore.com/?p=516</guid>
		<description><![CDATA[Today while perusing the forums on the Plex website, I noticed someone inquiring as to how they would go about changing the file paths in Plex for one of the video sources without removing the source and adding it back from the new location.
The reason for wanting to do this is to ensure that your [...]]]></description>
			<content:encoded><![CDATA[<p>Today while perusing the forums on the Plex website, I noticed someone inquiring as to how they would go about changing the file paths in Plex for one of the video sources without removing the source and adding it back from the new location.</p>
<p>The reason for wanting to do this is to ensure that your database entry tweaks, fanart settings, etc., are not lost, which is what would happen if you removed the source and it&#8217;s library entries.</p>
<p>One of the more interesting parts of the Plex project at the moment is the complete re-build of the database structure and how you work with it.  The existing database structure is fairly poor in it&#8217;s design.  There are a lot of cryptic field names, and it is easily corruptible.  The current library system is a hold-over from the old XBMC code base.<br />
<span id="more-516"></span></p>
<p>Regardless of all of that, the task itself is fairly straightforward and easily accomplished with a little care.</p>
<p>The first thing that you have to note is that this should never be attempted on a live Plex database.  Always do this on a backup.  Secondly, this is not a normal end-user type of operation.  And finally, performing such an operation could easily wipe out your data if done improperly.  Also, the steps listed below require a certain amount of &#8220;non-average&#8221; experience with the Mac OS.  If you are not comfortable working at the command line using Terminal, then don&#8217;t attempt this.</p>
<p>That being said, here ya go:</p>
<p><strong>1.</strong> Make a working copy of the database to test with, never work on the original.  The video information database is stored here by default:</p>
<p style="padding-left: 30px;">/Users/USERNAME/Library/Application Support/Plex/userdata/Database/</p>
<p><strong>2.</strong> The name of the video database may vary a little.  For instance mine is named:</p>
<p style="padding-left: 30px;">MyVideos34.db</p>
<p><strong>3.</strong> Open the working copy using the built-in SQLite3 installation:</p>
<p style="padding-left: 30px;">sqlite3 MyVideos34.db</p>
<p><strong>4.</strong> At this point you will be presented with the SQLite3 command prompt:</p>
<p style="padding-left: 30px;">SQLite version 3.6.12<br />
Enter &#8220;.help&#8221; for instructions<br />
Enter SQL statements terminated with a &#8220;;&#8221;<br />
sqlite&gt;</p>
<p><strong>5.</strong> The first thing you should do is to determine what the database has recorded for your current path structure.  This information is found in the &#8220;path&#8221; table in the &#8220;strPath&#8221; column. So enter the following command and then hit enter:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> strPath <span style="color: #993333; font-weight: bold;">FROM</span> path;</pre></div></div>

<p><strong>6.</strong> You should get a lot of output that is similar to the following:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">62|/Users/arfore/Pictures/Plexaeon/soundcheck/||||||
&nbsp;
96|/Volumes/Movies 0001/|movies|imdb.xml||0|0|&amp;lt;settings&amp;gt;&amp;lt;setting id=&quot;fullcredits&quot; value=&quot;false&quot; /&amp;gt;&amp;lt;setting id=&quot;impawards&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;setting id=&quot;movieposterdb&quot; value=&quot;false&quot; /&amp;gt;&amp;lt;setting id=&quot;trailer&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;setting id=&quot;fanart&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;setting id=&quot;imdbscale&quot; value=&quot;512&quot; /&amp;gt;&amp;lt;setting id=&quot;url&quot; value=&quot;akas.imdb.com&quot; /&amp;gt;&amp;lt;/settings&amp;gt;
&nbsp;
97|/Volumes/TV Shows 0001/|tvshows|tvdb.xml|A73E600F7EBB57B238351083E2FD8573|0|0|&amp;lt;settings&amp;gt;&amp;lt;setting id=&quot;fullcredits&quot; value=&quot;false&quot; /&amp;gt;&amp;lt;setting id=&quot;impawards&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;setting id=&quot;movieposterdb&quot; value=&quot;false&quot; /&amp;gt;&amp;lt;setting id=&quot;trailer&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;setting id=&quot;fanart&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;setting id=&quot;imdbscale&quot; value=&quot;512&quot; /&amp;gt;&amp;lt;setting id=&quot;url&quot; value=&quot;akas.imdb.com&quot; /&amp;gt;&amp;lt;/settings&amp;gt;
&nbsp;
98|/Volumes/TV Shows 0001/Witch Hunter Robin/|||0DBFC8A633052B0CFE252AA91D4283B4|||</pre></div></div>

<p>It should be plainly obvious, but in case it&#8217;s not, each column in the output is delimited by a pipe symbol &#8220;|&#8221; (no, this is not a lowercase &#8220;L&#8221; or an uppercase &#8220;i&#8221;).  The first column is an id field.  The second column is the path to the file.</p>
<p><strong>7.</strong> Now here&#8217; the fun part.  Say I have copied all of my TV Show seasons over to my new NAS and I want to change the DB to reflect that.</p>
<p>Below are the two location spots:</p>
<p style="padding-left: 30px;"><strong><em>OLD LOCATION:</em></strong>  /Volumes/TV Shows 0001/</p>
<p style="padding-left: 30px;"><strong><em>NEW LOCATION:</em></strong> /Volumes/NAS/TV Shows/</p>
<p><strong>8.</strong> What you have to do is to execute an update statement using the replace function on the database (and this includes the line about the tvdb data, since that line is used to control the scrapper).  Remember that this should never be done on a live db:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> path <span style="color: #993333; font-weight: bold;">SET</span> strPath <span style="color: #66cc66;">=</span> <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color: #66cc66;">&#40;</span>strPath<span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'OLD LOCATION'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'NEW LOCATION'</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Here&#8217;s the description of the replace function from the SQLite website:</p>
<blockquote><p>The replace(X,Y,Z) function returns a string formed by substituting string Z for every occurrance of string Y in string X. The BINARY collating sequence is used for comparisons. If Y is an empty string then return X unchanged. If Z is not initially a string, it is cast to a UTF-8 string prior to processing.</p></blockquote>
<p><strong>9.</strong> Re-run the SELECT statement from step 5 to verify that your change took effect.</p>
<p><strong>10.</strong> Quit SQLite:</p>
<p style="padding-left: 30px;">.quit</p>
<p>Then you will need to quit Plex and backup the unaltered database file and replace it with your newly changed database file.  Assuming everything worked your Plex install will now reference your new file structure.</p>
<p>Remember, this is not supported by me or any of the Plex guys.  I just was in the same situation and wanted to see if I could figure it out.  I successfully did this with no detrimental issues, but your mileage may vary.</p>
]]></content:encoded>
			<wfw:commentRss>http://arfore.com/2010/01/19/updating-your-plex-video-source-file-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
