<?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>Drawing Infinity &#187; iTunes</title>
	<atom:link href="http://calenfretts.com/tag/itunes/feed/" rel="self" type="application/rss+xml" />
	<link>http://calenfretts.com</link>
	<description>Calen Fretts will live free or die trying</description>
	<lastBuildDate>Thu, 15 Dec 2011 05:26:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>lasTunes 1.0</title>
		<link>http://calenfretts.com/2009/02/11/lastunes-10/</link>
		<comments>http://calenfretts.com/2009/02/11/lastunes-10/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 18:52:08 +0000</pubDate>
		<dc:creator>frettsy</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[lasTunes]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Last.fm]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[WordPress plugins]]></category>

		<guid isPermaLink="false">http://calenfretts.com/?p=601</guid>
		<description><![CDATA[I just finished writing my first WordPress plugin! here is some information about lasTunes: Adds iTunes links to Last.fm user&#8217;s Recently Played Tracks feed and displays them. Multiple options, including: Add direct links to each track artist&#8217;s myspace and last.fm pages Add link to album Add link to user&#8217;s last.fm page see it in action [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished writing my first WordPress plugin! here is some information about <strong>lasTunes</strong>:</p>
<p><em>Adds iTunes links to Last.fm user&#8217;s Recently Played Tracks feed and displays them.</em></p>
<p><em>Multiple options, including:</em></p>
<ul>
<li><em>Add direct links to each track artist&#8217;s myspace and last.fm pages</em></li>
<li><em>Add link to album</em></li>
<li><em>Add link to user&#8217;s last.fm page</em></li>
</ul>
<p>see it in action below. oh, and check out the <a href="http://wordpress.org/extend/plugins/lastunes/">lasTunes WordPress plugins page</a>, where you can/should download it. while I may provide updates here from time to time, all new versions will be posted there. namaste!</p>
<em>recently listened tracks of <a href="http://www.last.fm/user/cfretts" target="_blank">cfretts</a></em><table><tr><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3FartistTerm%3DKings+of+Leon" title="search iTunes">Kings of Leon</a></td><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DKings+of+Leon+Fans" title="search iTunes">Fans</a></td><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DKings+of+Leon+Because+Of+The+Times" title="search iTunes"><img src="/wp-content/plugins/lastunes/images/album-16x16.png" alt="Because Of The Times" /></a></td></tr><tr><td style="background-color:#999999;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3FartistTerm%3DMumford+%26+Sons" title="search iTunes">Mumford & Sons</a></td><td style="background-color:#999999;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DMumford+%26+Sons+Little+Lion+Man" title="search iTunes">Little Lion Man</a></td><td style="background-color:#999999;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DMumford+%26+Sons+Love+Your+Ground" title="search iTunes"><img src="/wp-content/plugins/lastunes/images/album-16x16.png" alt="Love Your Ground" /></a></td></tr><tr><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3FartistTerm%3DRadiohead" title="search iTunes">Radiohead</a></td><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DRadiohead+15+Step" title="search iTunes">15 Step</a></td><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DRadiohead+In+Rainbows" title="search iTunes"><img src="/wp-content/plugins/lastunes/images/album-16x16.png" alt="In Rainbows" /></a></td></tr><tr><td style="background-color:#999999;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3FartistTerm%3DDeath+Cab+For+Cutie" title="search iTunes">Death Cab For Cutie</a></td><td style="background-color:#999999;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DDeath+Cab+For+Cutie+GrapeVine+Fires" title="search iTunes">GrapeVine Fires</a></td><td style="background-color:#999999;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DDeath+Cab+For+Cutie+Narrow+Stairs" title="search iTunes"><img src="/wp-content/plugins/lastunes/images/album-16x16.png" alt="Narrow Stairs" /></a></td></tr><tr><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3FartistTerm%3DKings+of+Leon" title="search iTunes">Kings of Leon</a></td><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DKings+of+Leon+True+Love+Way" title="search iTunes">True Love Way</a></td><td style="background-color:#CCCCCC;"><a href="http://click.linksynergy.com/fs-bin/stat?id=9k1rkt9wFm4&amp;offerid=146261&amp;type=3&amp;subid=1&amp;tmpid=1826&amp;RD_PARM1=http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2FadvancedSearchResults%3Fterm%3DKings+of+Leon+Because+Of+The+Times" title="search iTunes"><img src="/wp-content/plugins/lastunes/images/album-16x16.png" alt="Because Of The Times" /></a></td></tr></table><p style="display:none;"><a href="http://calenfretts.com/category/geek/wordpress/lastunes/">lasTunes</a> by <a href="http://audshow.com">Calen Fretts</a></p>
]]></content:encoded>
			<wfw:commentRss>http://calenfretts.com/2009/02/11/lastunes-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes &#8211; List Dead Tracks &#8211; To File</title>
		<link>http://calenfretts.com/2008/09/19/itunes-list-dead-tracks-to-file/</link>
		<comments>http://calenfretts.com/2008/09/19/itunes-list-dead-tracks-to-file/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 20:45:37 +0000</pubDate>
		<dc:creator>frettsy</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[dead tracks]]></category>
		<category><![CDATA[playlist]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://calenfretts.com/?p=288</guid>
		<description><![CDATA[this script will list all dead tracks in your iTunes library in a file called &#8220;DeadTracks.txt&#8221; /* by Calen Fretts */ var ITTrackKindFile = 1; var iTunesApp = WScript.CreateObject("iTunes.Application"); var tracks = iTunesApp.LibraryPlaylist.Tracks; var numTracks = tracks.Count; var matchTracks = 0; var fso = new ActiveXObject("Scripting.FileSystemObject"); var FILE_NAME = "DeadTracks.txt"; var myFile = fso.CreateTextFile(FILE_NAME); WScript.Echo("Finding [...]]]></description>
			<content:encoded><![CDATA[<p>this script will list all dead tracks in your iTunes library in a file called &#8220;DeadTracks.txt&#8221;</p>
<pre>
<div class="code">/* by Calen Fretts */
var ITTrackKindFile = 1;
var iTunesApp = WScript.CreateObject("iTunes.Application");
var tracks = iTunesApp.LibraryPlaylist.Tracks;
var numTracks = tracks.Count;
var matchTracks = 0;

var fso = new ActiveXObject("Scripting.FileSystemObject");
var FILE_NAME = "DeadTracks.txt";
var myFile = fso.CreateTextFile(FILE_NAME);

WScript.Echo("Finding dead tracks...");

while (numTracks != 0)
{
	var currTrack = tracks.Item(numTracks);

	// is this a track?
	if (currTrack.Kind == ITTrackKindFile)
	{
		if (currTrack.Location == "")
		{
			myFile.WriteLine("" + currTrack.Artist + " - " + currTrack.Album + " - "  + currTrack.TrackNumber + " - "  + currTrack.Name + "");
			matchTracks++;
		}
	}

	numTracks--;
}

myFile.Close();

if (matchTracks == 0)
{
	WScript.Echo("No dead tracks.");
	myFile = fso.GetFile(FILE_NAME);
	myFile.Delete();
}
else
{
	WScript.Echo("Found " + matchTracks + " dead tracks - see the following file: " + FILE_NAME);
}</div>
</pre>
<p><em>copy the code into a new text file, and rename its extension to &#8220;.js&#8221;. if you post this code anywhere else, please be sure to give me credit by linking back to this site. got questions or improvements? leave a comment!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://calenfretts.com/2008/09/19/itunes-list-dead-tracks-to-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes &#8211; No Artwork To Playlist</title>
		<link>http://calenfretts.com/2008/09/12/itunes-no-artwork-to-playlist/</link>
		<comments>http://calenfretts.com/2008/09/12/itunes-no-artwork-to-playlist/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 05:48:04 +0000</pubDate>
		<dc:creator>frettsy</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[artwork]]></category>
		<category><![CDATA[playlist]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://calenfretts.com/?p=247</guid>
		<description><![CDATA[over the years, I&#8217;ve written a few custom scripts to do my electronic dirty work. some of these are iTunes scripts, and I think others will find them useful as well. copy the following code into a new text file, and rename its extension to &#8220;.js&#8221; /* by Calen Fretts */ var ITTrackKindFile = 1; [...]]]></description>
			<content:encoded><![CDATA[<p><em>over the years, I&#8217;ve written a few custom scripts to do my electronic dirty work. some of these are iTunes scripts, and I think others will find them useful as well. copy the following code into a new text file, and rename its extension to &#8220;.js&#8221;</em></p>
<pre>
<div class="code">/* by Calen Fretts */
var ITTrackKindFile = 1;
var iTunesApp = WScript.CreateObject("iTunes.Application");
var tracks = iTunesApp.LibraryPlaylist.Tracks;
var numTracks = tracks.Count;
var matchTracks = 0;

var myNewPlaylistName = "---------NO ARTWORK";
var myNewPlaylist = iTunesApp.CreatePlaylist(myNewPlaylistName);

WScript.Echo("Finding tracks with no artwork...");

while (numTracks != 0)
{
	var currTrack = tracks.Item(numTracks);

	// is this a track?
	if (currTrack.Kind == ITTrackKindFile)
	{
		if (currTrack.Artwork.Count == 0)
		{
			var bSuccess = myNewPlaylist.AddTrack(currTrack);
			matchTracks++;
		}
	}

	numTracks--;
}

if (matchTracks == 0)
{
	myNewPlaylist.Delete();
	WScript.Echo("No tracks found.");
}
else
{
	WScript.Echo("Found " + matchTracks + " tracks. Added to playlist '" + myNewPlaylistName + "'.");
}
</div>
</pre>
<p><em>if you post this code anywhere else, please be sure to give me credit by linking back to this site. got improvements? leave a comment!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://calenfretts.com/2008/09/12/itunes-no-artwork-to-playlist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

