<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: The A-Z of my iPod</title>
	<atom:link href="http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/</link>
	<description>Musings from the banana patch</description>
	<lastBuildDate>Thu, 11 Mar 2010 15:14:00 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Burkimsher</title>
		<link>http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/comment-page-1/#comment-2137</link>
		<dc:creator>Peter Burkimsher</dc:creator>
		<pubDate>Sun, 01 Apr 2007 22:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-2137</guid>
		<description>OK, I wrote the script at last! (Sorry, it&#039;s been sitting in my To Do list for 3 months, I&#039;ve had other things on my mind - first girlfriend and IB - so I&#039;ve not had much time to write unnecessary programs). Here it is, enjoy! I actually find this quite fun, despite it being a really simple script. 

(*
A to Z from Playlist: Creates a playlist using songs from an existing playlist with one of the tags beginning with each letter in the alphabet, as theorised on http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1194

©opyleft Peter Burkimsher 2/4/2007

*)

property tags : {&quot;Song Name&quot;, &quot;Artist&quot;, &quot;Album&quot;}

tell application &quot;iTunes&quot;
	
	set tag to (choose from list tags with prompt &quot;Choose the tags to title case&quot; without multiple selections allowed) as string
	
	set header to &quot;A-Z &quot; &amp; tag &amp; &quot; &quot;
	set this_playlist to (view of front window)
	set playlist_name to name of this_playlist
	
	set alphabet to {&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;, &quot;E&quot;, &quot;F&quot;, &quot;G&quot;, &quot;H&quot;, &quot;I&quot;, &quot;J&quot;, &quot;K&quot;, &quot;L&quot;, &quot;M&quot;, &quot;N&quot;, &quot;O&quot;, &quot;P&quot;, &quot;Q&quot;, &quot;R&quot;, &quot;S&quot;, &quot;T&quot;, &quot;U&quot;, &quot;V&quot;, &quot;W&quot;, &quot;X&quot;, &quot;Y&quot;, &quot;Z&quot;}
	
	set playlist_tracks to {}
	
	repeat with this_letter in the alphabet
		
		if tag is &quot;Song Name&quot; then
			set letter_tracks to (every file track of this_playlist whose name starts with this_letter)
		end if
		
		if tag is &quot;Artist&quot; then
			set letter_tracks to (every file track of this_playlist whose artist starts with this_letter)
		end if
		
		if tag is &quot;Album&quot; then
			set letter_tracks to (every file track of this_playlist whose album starts with this_letter)
		end if
		
		set number_tracks to (number of items of letter_tracks)
		if number_tracks &gt; 0 then
			set this_track to item (random number from 1 to number_tracks) of letter_tracks
			set end of playlist_tracks to (location of this_track)
		end if
	end repeat
	
	set new_playlist to (make new playlist)
	set name of new_playlist to (header &amp; playlist_name)
	repeat with this_track in playlist_tracks
		add this_track to new_playlist
	end repeat
	
end tell</description>
		<content:encoded><![CDATA[<p>OK, I wrote the script at last! (Sorry, it&#8217;s been sitting in my To Do list for 3 months, I&#8217;ve had other things on my mind &#8211; first girlfriend and IB &#8211; so I&#8217;ve not had much time to write unnecessary programs). Here it is, enjoy! I actually find this quite fun, despite it being a really simple script. </p>
<p>(*<br />
A to Z from Playlist: Creates a playlist using songs from an existing playlist with one of the tags beginning with each letter in the alphabet, as theorised on <a href="http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1194" rel="nofollow">http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1194</a></p>
<p>©opyleft Peter Burkimsher 2/4/2007</p>
<p>*)</p>
<p>property tags : {&#8220;Song Name&#8221;, &#8220;Artist&#8221;, &#8220;Album&#8221;}</p>
<p>tell application &#8220;iTunes&#8221;</p>
<p>	set tag to (choose from list tags with prompt &#8220;Choose the tags to title case&#8221; without multiple selections allowed) as string</p>
<p>	set header to &#8220;A-Z &#8221; &amp; tag &amp; &#8221; &#8221;<br />
	set this_playlist to (view of front window)<br />
	set playlist_name to name of this_playlist</p>
<p>	set alphabet to {&#8220;A&#8221;, &#8220;B&#8221;, &#8220;C&#8221;, &#8220;D&#8221;, &#8220;E&#8221;, &#8220;F&#8221;, &#8220;G&#8221;, &#8220;H&#8221;, &#8220;I&#8221;, &#8220;J&#8221;, &#8220;K&#8221;, &#8220;L&#8221;, &#8220;M&#8221;, &#8220;N&#8221;, &#8220;O&#8221;, &#8220;P&#8221;, &#8220;Q&#8221;, &#8220;R&#8221;, &#8220;S&#8221;, &#8220;T&#8221;, &#8220;U&#8221;, &#8220;V&#8221;, &#8220;W&#8221;, &#8220;X&#8221;, &#8220;Y&#8221;, &#8220;Z&#8221;}</p>
<p>	set playlist_tracks to {}</p>
<p>	repeat with this_letter in the alphabet</p>
<p>		if tag is &#8220;Song Name&#8221; then<br />
			set letter_tracks to (every file track of this_playlist whose name starts with this_letter)<br />
		end if</p>
<p>		if tag is &#8220;Artist&#8221; then<br />
			set letter_tracks to (every file track of this_playlist whose artist starts with this_letter)<br />
		end if</p>
<p>		if tag is &#8220;Album&#8221; then<br />
			set letter_tracks to (every file track of this_playlist whose album starts with this_letter)<br />
		end if</p>
<p>		set number_tracks to (number of items of letter_tracks)<br />
		if number_tracks &gt; 0 then<br />
			set this_track to item (random number from 1 to number_tracks) of letter_tracks<br />
			set end of playlist_tracks to (location of this_track)<br />
		end if<br />
	end repeat</p>
<p>	set new_playlist to (make new playlist)<br />
	set name of new_playlist to (header &amp; playlist_name)<br />
	repeat with this_track in playlist_tracks<br />
		add this_track to new_playlist<br />
	end repeat</p>
<p>end tell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Local</title>
		<link>http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/comment-page-1/#comment-1645</link>
		<dc:creator>Steve Local</dc:creator>
		<pubDate>Mon, 19 Feb 2007 14:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1645</guid>
		<description>I can always burn you a Xasthur CD if you like...</description>
		<content:encoded><![CDATA[<p>I can always burn you a Xasthur CD if you like&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Monkey</title>
		<link>http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/comment-page-1/#comment-1196</link>
		<dc:creator>The Monkey</dc:creator>
		<pubDate>Thu, 01 Feb 2007 13:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1196</guid>
		<description>Hi Peter,

cheers for that. I know there are loads of artists beginning with O (Our Lady Peace certainly takes me back a few years!). I definitely need to expand my music collection by the sound of things! I&#039;m sure I&#039;ve got an Our Lady Peace album somewhere, just a case of digging it out I guess! If you have any other suggestions of novel ways to make up playlists I&#039;d love to hear them. I&#039;ve started at A again but have decided to go for different artists this time around so I may well do a list of these when I get to the end.

Monkey.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>cheers for that. I know there are loads of artists beginning with O (Our Lady Peace certainly takes me back a few years!). I definitely need to expand my music collection by the sound of things! I&#8217;m sure I&#8217;ve got an Our Lady Peace album somewhere, just a case of digging it out I guess! If you have any other suggestions of novel ways to make up playlists I&#8217;d love to hear them. I&#8217;ve started at A again but have decided to go for different artists this time around so I may well do a list of these when I get to the end.</p>
<p>Monkey.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Burkimsher</title>
		<link>http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/comment-page-1/#comment-1194</link>
		<dc:creator>Peter Burkimsher</dc:creator>
		<pubDate>Thu, 01 Feb 2007 09:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1194</guid>
		<description>Hey, 
This looks pretty fun, my kind of thing. I make playlists all the time (for all sorts of emotions - happy, down, in love..., activities - driving, flying, train..., days of the week, and a whole lot more on top of that. 

If you like, I can write an Applescript to do just this, it would actually be really pretty easy. Randomly selecting an artist whose name begins with a letter is easy enough, putting a repeat loop around that wouldn&#039;t take more than about 5 minutes. Only songs from a particular playlist? Of course. 

Good idea, hope it catches on. And I really should iMix my playlists some day. As a taster, my driving playlist includes Anberlin - Autobahn; RHCP - Can&#039;t Stop; 12 Stones - Crash; New Found Glory - Head On Collision: you get the idea. lol. 

P

p.s. there&#039;s loads of artists starting with O! O-Zone, Olivia Newton-John, Oasis, OPM, Our Lady Peace, Outlandish, and more! X has Xzibit, Y has Yellowcard and more...you should acquire some more music!</description>
		<content:encoded><![CDATA[<p>Hey,<br />
This looks pretty fun, my kind of thing. I make playlists all the time (for all sorts of emotions &#8211; happy, down, in love&#8230;, activities &#8211; driving, flying, train&#8230;, days of the week, and a whole lot more on top of that. </p>
<p>If you like, I can write an Applescript to do just this, it would actually be really pretty easy. Randomly selecting an artist whose name begins with a letter is easy enough, putting a repeat loop around that wouldn&#8217;t take more than about 5 minutes. Only songs from a particular playlist? Of course. </p>
<p>Good idea, hope it catches on. And I really should iMix my playlists some day. As a taster, my driving playlist includes Anberlin &#8211; Autobahn; RHCP &#8211; Can&#8217;t Stop; 12 Stones &#8211; Crash; New Found Glory &#8211; Head On Collision: you get the idea. lol. </p>
<p>P</p>
<p>p.s. there&#8217;s loads of artists starting with O! O-Zone, Olivia Newton-John, Oasis, OPM, Our Lady Peace, Outlandish, and more! X has Xzibit, Y has Yellowcard and more&#8230;you should acquire some more music!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Podophile &#187; Blog Archive &#187; Podosphere: Rockies, Monkey, Nike, Junky</title>
		<link>http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/comment-page-1/#comment-1193</link>
		<dc:creator>Podophile &#187; Blog Archive &#187; Podosphere: Rockies, Monkey, Nike, Junky</dc:creator>
		<pubDate>Thu, 01 Feb 2007 08:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.psychoticmonkey.co.uk/2007/01/31/the-a-z-of-my-ipod/#comment-1193</guid>
		<description>[...] The A-Z of my iPod Tired of your current playlists? Psychotic Monkey hits on a novel playlist-making idea that encourages deep iTunes digging. I think I&#8217;ll give this a try soon. [...]</description>
		<content:encoded><![CDATA[<p>[...] The A-Z of my iPod Tired of your current playlists? Psychotic Monkey hits on a novel playlist-making idea that encourages deep iTunes digging. I think I&#8217;ll give this a try soon. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
