<?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>Lurous Productions Blog &#187; Odd Things</title>
	<atom:link href="http://www.lurous.com/blog/category/odd-things/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lurous.com/blog</link>
	<description>Keeping you Informed!</description>
	<lastBuildDate>Mon, 24 Oct 2011 19:18:48 +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>Akamai Down.</title>
		<link>http://www.lurous.com/blog/2011/10/akamai-down/</link>
		<comments>http://www.lurous.com/blog/2011/10/akamai-down/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 19:17:27 +0000</pubDate>
		<dc:creator>Eric Christian</dc:creator>
				<category><![CDATA[Odd Things]]></category>

		<guid isPermaLink="false">http://www.lurous.com/blog/?p=138</guid>
		<description><![CDATA[Several Akamai websites are now down currently because of an outage at Akamai. For instance, Onstream, and Disney&#8217;s website (as well as ABC). This evidently happened in early August as well causing outages seen far and wide.]]></description>
			<content:encoded><![CDATA[<p>Several Akamai websites are now down currently because of an outage at Akamai. For instance, Onstream, and Disney&#8217;s website (as well as ABC).</p>
<p>This evidently happened in early August as well causing outages seen far and wide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lurous.com/blog/2011/10/akamai-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downtime Explained</title>
		<link>http://www.lurous.com/blog/2010/12/downtime-explained/</link>
		<comments>http://www.lurous.com/blog/2010/12/downtime-explained/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 22:42:06 +0000</pubDate>
		<dc:creator>Eric Christian</dc:creator>
				<category><![CDATA[Odd Things]]></category>
		<category><![CDATA[downtime]]></category>

		<guid isPermaLink="false">http://www.lurous.com/blog/?p=121</guid>
		<description><![CDATA[Well, we&#8217;re back. It seems that our DNS server decided that it didn&#8217;t want to run anymore. I&#8217;ve fixed several of the errors and I am still working out the kinks. However, one of our four sites (this one) are now up and functioning. I will have all four of them up in no time. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, we&#8217;re back. It seems that our DNS server decided that it didn&#8217;t want to run anymore. I&#8217;ve fixed several of the errors and I am still working out the kinks. However, one of our four sites (this one) are now up and functioning. I will have all four of them up in no time. The forums on this site seem to be down still; however, that&#8217;s only temporary.</p>
<p>I will have the remaining parts of the site up by the end of the week.</p>
<p>Thanks for staying in touch!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lurous.com/blog/2010/12/downtime-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Windows JScript] Deleting Duplicate Songs on iTunes</title>
		<link>http://www.lurous.com/blog/2010/10/deleting-duplicate-songs-itunes/</link>
		<comments>http://www.lurous.com/blog/2010/10/deleting-duplicate-songs-itunes/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 19:54:27 +0000</pubDate>
		<dc:creator>Eric Christian</dc:creator>
				<category><![CDATA[Odd Things]]></category>
		<category><![CDATA[Deleting]]></category>
		<category><![CDATA[Duplicate]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[JScript]]></category>
		<category><![CDATA[Songs]]></category>
		<category><![CDATA[Windows JScript]]></category>

		<guid isPermaLink="false">http://www.lurous.com/blog/?p=59</guid>
		<description><![CDATA[Well, before anybody runs this script I want to warn you: It works by deleting any duplicate title. That means if you have a song titled &#8220;Silent Night,&#8221; it will delete every song named that except the first one. That can be easily fixed by matching it to the artist, but I didn&#8217;t care. I [...]]]></description>
			<content:encoded><![CDATA[<p>Well, before anybody runs this script I want to warn you: It works by deleting any duplicate title. <strong>That means if you have a song titled &#8220;Silent Night,&#8221; it will delete every song named that except the first one.</strong></p>
<p>That can be easily fixed by matching it to the artist, but I didn&#8217;t care. I made the script because I really don&#8217;t mind losing some songs that have duplicate names. If you don&#8217;t like the idea of losing the songs that might be named the same then I recommend the commercial software that checks stuff like that. I have a medium iTunes library and I didn&#8217;t really care if a few went away. I also don&#8217;t have that large of a hard-drive so I don&#8217;t want to have to consolidate my iTunes Library.</p>
<p>The script is based off of the Dead Track Removal script that Apple provided.</p>
<ol>
<li>
<h4>All you have to do is copy the script below and save it as a .JSE file.</h4>
</li>
<li>
<h4>After that, double click on it with iTunes closed and it should start its work.</h4>
</li>
</ol>
<p>While the script doesn&#8217;t do anything but remove the tracks that have duplicate titles please remember:</p>
<p style="font-size: 0.8em; font-weight: bold;">The script is provided by Lurous Production on an &#8220;AS IS&#8221; basis. LUROUS MAKES NO<br />
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED<br />
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR<br />
PURPOSE, REGARDING THE &#8220;SCRIPT&#8221; OR ITS USE AND OPERATION ALONE OR IN<br />
COMBINATION WITH YOUR PRODUCTS.</p>
<p style="font-size: 0.8em; font-weight: bold;">
IN NO EVENT SHALL LUROUS BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR<br />
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF<br />
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS<br />
INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION<br />
AND/OR DISTRIBUTION OF THE &#8220;SCRIPT&#8221;, HOWEVER CAUSED AND WHETHER UNDER<br />
THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE,<br />
EVEN IF LUROUS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p>Anyways, without further a-do, here&#8217;s the script:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.lurous.com/blog/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.lurous.com/blog/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.lurous.com/blog/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.lurous.com/blog/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="javascript" style="font-family:monospace;"><span class="kw2">var</span> ITTrackKindFile <span class="sy0">=</span> <span class="nu0">1</span><span class="sy0">;</span>
<span class="kw2">var</span> iTunesApp <span class="sy0">=</span> WScript.<span class="me1">CreateObject</span><span class="br0">&#40;</span><span class="st0">&quot;iTunes.Application&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">var</span> usedNames <span class="sy0">=</span> <span class="kw2">new</span> Array<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">var</span> deletedTracks <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span>
<span class="kw2">var</span> mainLibrary <span class="sy0">=</span> iTunesApp.<span class="me1">LibraryPlaylist</span><span class="sy0">;</span>
<span class="kw2">var</span> tracks <span class="sy0">=</span> mainLibrary.<span class="me1">Tracks</span><span class="sy0">;</span>
<span class="kw2">var</span> numTracks <span class="sy0">=</span> tracks.<span class="me1">Count</span><span class="sy0">;</span>
<span class="kw2">var</span> i<span class="sy0">;</span>
<span class="kw2">var</span> j<span class="sy0">;</span>
<span class="kw2">var</span> currTrackName<span class="sy0">;</span>
<span class="kw2">var</span> found <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span>
&nbsp;
<span class="kw1">while</span> <span class="br0">&#40;</span>numTracks <span class="sy0">!=</span> 0<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
    <span class="kw2">var</span> currTrack <span class="sy0">=</span> tracks.<span class="kw1">Item</span><span class="br0">&#40;</span>numTracks<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
    <span class="co1">// is this a file track?</span>
    <span class="kw1">if</span> <span class="br0">&#40;</span>currTrack.<span class="me1">Kind</span> <span class="sy0">==</span> ITTrackKindFile<span class="br0">&#41;</span>
    <span class="br0">&#123;</span>
        found <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span>
        currTrackName <span class="sy0">=</span> currTrack.<span class="kw3">Name</span><span class="sy0">;</span>
        <span class="kw1">for</span> <span class="br0">&#40;</span>j <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span> j <span class="sy0">&lt;</span> usedNames.<span class="me1">length</span><span class="sy0">;</span> j<span class="sy0">++</span><span class="br0">&#41;</span>
        <span class="br0">&#123;</span>
            <span class="kw1">if</span> <span class="br0">&#40;</span>found <span class="sy0">==</span> 0<span class="br0">&#41;</span> <span class="br0">&#123;</span>
                <span class="kw1">if</span> <span class="br0">&#40;</span>currTrack.<span class="kw3">Name</span> <span class="sy0">==</span> usedNames<span class="br0">&#91;</span>j<span class="br0">&#93;</span><span class="br0">&#41;</span>
                <span class="br0">&#123;</span>
                    <span class="co1">//Track Name Used.</span>
                    currTrack.<span class="kw1">Delete</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
                    found <span class="sy0">=</span> <span class="nu0">1</span><span class="sy0">;</span>
                    deletedTracks<span class="sy0">++;</span>
                <span class="br0">&#125;</span>
            <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span>
                <span class="kw1">break</span><span class="sy0">;</span>
            <span class="br0">&#125;</span>
        <span class="br0">&#125;</span>
&nbsp;
        <span class="co1">// It survived.</span>
        usedNames.<span class="me1">push</span><span class="br0">&#40;</span>currTrackName<span class="br0">&#41;</span><span class="sy0">;</span>
    <span class="br0">&#125;</span>
&nbsp;
    numTracks<span class="sy0">--;</span>
<span class="br0">&#125;</span>
&nbsp;
<span class="kw1">if</span> <span class="br0">&#40;</span>deletedTracks <span class="sy0">&gt;</span> 0<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
    <span class="kw1">if</span> <span class="br0">&#40;</span>deletedTracks <span class="sy0">==</span> <span class="nu0">1</span><span class="br0">&#41;</span>
    <span class="br0">&#123;</span>
        WScript.<span class="me1">Echo</span><span class="br0">&#40;</span><span class="st0">&quot;Removed 1 duplicate track.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
    <span class="br0">&#125;</span>
    <span class="kw1">else</span>
    <span class="br0">&#123;</span>
        WScript.<span class="me1">Echo</span><span class="br0">&#40;</span><span class="st0">&quot;Removed &quot;</span> <span class="sy0">+</span> deletedTracks <span class="sy0">+</span> <span class="st0">&quot; duplicate tracks.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
    <span class="br0">&#125;</span>
<span class="br0">&#125;</span>
<span class="kw1">else</span>
<span class="br0">&#123;</span>
    WScript.<span class="me1">Echo</span><span class="br0">&#40;</span><span class="st0">&quot;No duplicate tracks were found.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="br0">&#125;</span></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lurous.com/blog/2010/10/deleting-duplicate-songs-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

