<?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"
	>

<channel>
	<title>Webninja &#187; Music</title>
	<atom:link href="http://www.webninja.com/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webninja.com</link>
	<description>Like you care...</description>
	<pubDate>Thu, 11 Dec 2008 20:47:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
			<item>
		<title>Perl + iTunes</title>
		<link>http://www.webninja.com/2006/04/12/perl-itunes/</link>
		<comments>http://www.webninja.com/2006/04/12/perl-itunes/#comments</comments>
		<pubDate>Thu, 13 Apr 2006 01:07:19 +0000</pubDate>
		<dc:creator>Caleb Shay</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[itunes]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.webninja.com/2006/04/12/perl-itunes/</guid>
		<description><![CDATA[The stereo in my car can play mp3 CD&#8217;s and use the id3 info in the files to display the artist/title/etc.  I decided to grab a bunch of mp3&#8217;s from my iTunes library and burn them to CD for listening on my long work commute.  The CD played perfectly, but everything was showing [...]]]></description>
			<content:encoded><![CDATA[<p>The stereo in my car can play mp3 CD&#8217;s and use the id3 info in the files to display the artist/title/etc.  I decided to grab a bunch of mp3&#8217;s from my iTunes library and burn them to CD for listening on my long work commute.  The CD played perfectly, but everything was showing up on the display as the file names, not the id3 info.  A little research turned up that the stereo only supports id3v1 tags and iTunes only writes id3v2 tags.  I found a few apps on the web that would batch fix my labels, but I couldn&#8217;t really bring myself to pay for something for such a potentially simple task.  Perl to the rescue!</p>

<p>First, I had to install a perl module that my shiny new Mac didn&#8217;t come with (depends on <a href="http://fink.sourceforge.net/">fink</a>):</p>

<p><code>
fink install mp3-info-pm
</code></p>

<p>Okay, now to write a quick script that can read the id3v2 tags and write the data as an id3v1 tag.</p>

<p><code></code></p>

<h1>!/usr/bin/perl</h1>

<h1>addv1.pl <filename> to copy the id3v2 tag to the id3v1 data</filename></h1>

<p>use MP3::Info qw(:all);
use Data::Dumper;
use<em>mp3</em>utf8();</p>

<p>$v2tags = get<em>mp3tag($ARGV[0],2);
print &#8220;V2 Tags\n&#8221;;
print Dumper($v2tags);
print &#8220;Applying V1 Tags&#8230;\n&#8221;;
set</em>mp3tag($ARGV[0],$v2tags);
$v1tags = get_mp3tag($ARGV[0],1);
print &#8220;New Tags:\n&#8221;;
print &#8220;V1:\n&#8221;;
print Dumper($v1tags);
Okay, so that works for one file, but I&#8217;ve got well over 2,000 mp3 files in my collection, so&#8230;</p>

<p><code>
find ~/Music/iTunes/iTunes\ Music -type f -name '*.mp3' -exec ~/addv1.pl "{}" \;
</code></p>

<p>Enjoy!</p>

<p><strong>Update:</strong>  Thanks to the admin over at macosxhints.com, I now know that from within iTunes you can just click Advanced-&gt;Convert ID3 Tags&#8230;  Don&#8217;t I just feel like an idiot now.  Leave it to a guy who made &#8220;<a href="http://www.apple.com/switch/">The Switch</a>&#8221; to OSX from Linux, not Windows, to find the hard way to do something.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webninja.com/2006/04/12/perl-itunes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stern and Sirius</title>
		<link>http://www.webninja.com/2006/01/09/stern-and-sirius/</link>
		<comments>http://www.webninja.com/2006/01/09/stern-and-sirius/#comments</comments>
		<pubDate>Tue, 10 Jan 2006 03:33:35 +0000</pubDate>
		<dc:creator>Caleb Shay</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[Rants]]></category>

		<category><![CDATA[sirius]]></category>

		<category><![CDATA[stern]]></category>

		<guid isPermaLink="false">http://www.webninja.com/2006/01/09/stern-and-sirius/</guid>
		<description><![CDATA[I&#8217;ve had Sirius satellite radio for almost a year now.  Let me just get this out of the way first.  GO GET ONE RIGHT NOW!  I don&#8217;t want to hear any whining about how it&#8217;s too expensive, or why should I pay for satellite radio when terrestrial radio is free?

   [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had Sirius satellite radio for almost a year now.  Let me just get this out of the way first.  GO GET ONE RIGHT NOW!  I don&#8217;t want to hear any whining about how it&#8217;s too expensive, or why should I pay for satellite radio when terrestrial radio is free?
<ol>
    <li>The hardware is not expensive.  I&#8217;ve seen Sirius tuners for as cheap as $60.  I&#8217;ve even seen them being given away for free if you sign up for 6 months of service.</li>
    <li>The subscriptions aren&#8217;t that much.  If you only want to pay month to month it&#8217;s about $13/mo.  These days, that&#8217;s about one movie ticket, and you get SO much more entertainment from the radio than you do from a 90 minute piece of Hollywood crap.  Personally, I pre-paid for a year of service ($142), and odds are that when my year is up I&#8217;ll pay for the lifetime service ($500).</li>
    <li>Terrestrial radio is crap.  You&#8217;ll realize that within an hour of listening to satellite radio.  None of the music stations have commercials.  None.  Zero.  Just back to back songs, and maybe (but not always) a DJ.  Also, the stations don&#8217;t change format on you part way through the day.  That has always annoyed me with standard FM stations.  I&#8217;ll find some station that I actually like, then the next day it is crap because it turns out that they only play what I like between the hours of 11pm and 2am on alternating Tuesdays in months that end in &#8216;y&#8217;.  My music is always where I expect it to be.  If I want to listen to big-haired 80&#8217;s rock, I can turn to channel 23 (Hair Nation) and it will ALWAYS be playing Def Lepard, or Motley Crue, or Poison, or something like that.  If I want classical, I switch to 80 &#8220;Symphony Hall&#8221;, and it will ALWAYS be classical.</li>
</ol>
<span id="more-15"></span> Anyways, now that I have that out of the way.  Howard Stern did his first satellite broadcast on Sirius today, and while they did have some technical difficulties at the beginning with the new studio and equipment, I thought it was really good.</p>

<p>If you don&#8217;t like Stern, that&#8217;s fine.  I do.  I would ask though, why don&#8217;t you like him?  Have you really listened to an entire show?  Or have you just been influenced by what the press has said about him?</p>

<p>I&#8217;ve heard people say, &#8220;He hates women&#8221;.  Bullshit.  If you&#8217;ve listened to his show, you know that&#8217;s not true.  Does he make fun of strippers?  Absolutely.  Now tell me with a straight face that you&#8217;ve never made a joke about a stripper.  Does he make fun of stupid people?  Yep, regardless of gender.</p>

<p>I&#8217;ve been told that he&#8217;s homophobic.  He hired <a href="http://www.georgetakei.com/" target="_blank">George Takei</a> as the new announcer for his show.  George Takei!  Don&#8217;t know who that is?  Ask any Star Trek fan, they&#8217;ll tell you that as far as they are concerned, he was the first gay man in space.  And by the way, George was great.  They could do a show with just Howard and George and I would listen.
So, the show launched, seemed good to me, but I have one concern.  The lack of censorship.  I know that sounds strange, but hear me out.  I hated the bleeping and clipping of the show as much as all the other fans, but they did add something.  In an effort to not get constantly censored, the crew on the show would have to come up with really creative ways of saying things that would get by the FCC, and I for one found a lot of humor in the creative uses of language via innuendos and plays on words that they would use in order to get their point across.  Hopefully the loss of that will enhance the show since they can spend more time on their bits rather than wasting it on trying to get around FCC regulations.  Howard has already said that he is going to try to do the show without cursing, though he said &#8220;fuck&#8221; something like six times in the first show, and chastised himself every time.</p>

<p>That&#8217;s my take on satellite radio and the new Stern.  I&#8217;d love to hear yours.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webninja.com/2006/01/09/stern-and-sirius/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Maestro&#8230;</title>
		<link>http://www.webninja.com/2006/01/04/maestro/</link>
		<comments>http://www.webninja.com/2006/01/04/maestro/#comments</comments>
		<pubDate>Wed, 04 Jan 2006 05:27:12 +0000</pubDate>
		<dc:creator>Caleb Shay</dc:creator>
		
		<category><![CDATA[Family]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[Andi]]></category>

		<category><![CDATA[Snap-Her]]></category>

		<guid isPermaLink="false">http://www.webninja.com/2006/01/04/maestro/</guid>
		<description><![CDATA[Testing embedding audio:



I&#8217;ll risk the lawsuit.  Seeing as how I&#8217;m married to the singer, it seems unlikely.

Oh, and if you like it, check out the website.
]]></description>
			<content:encoded><![CDATA[<p>Testing embedding audio:</p>

<p></p>

<p>I&#8217;ll risk the lawsuit.  Seeing as how I&#8217;m married to the singer, it seems unlikely.</p>

<p>Oh, and if you like it, check out the <a href="http://www.snap-her.com/" target="_blank">website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webninja.com/2006/01/04/maestro/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
