<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: No more sweet music.</title>
	<link>http://ask.metafilter.com/81823/No-more-sweet-music/</link>
	<description>Comments on Ask MetaFilter post No more sweet music.</description>
	<pubDate>Thu, 24 Jan 2008 05:23:35 -0800</pubDate>
	<lastBuildDate>Thu, 24 Jan 2008 05:23:35 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: No more sweet music.</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music</link>	
		<description>Say I wanted to fill the genre tags of my whole mp3 library automatically. 
Say I trusted the &lt;a href=&quot;http://www.last.fm&quot;&gt;last.fm&lt;/a&gt; community enough to use the three most used tags for a certain song/album listed there (for example: &lt;a href=&quot;http://www.last.fm/music/New+Order/_/Ceremony&quot;&gt;New Order&apos;s Ceremony&lt;/a&gt; would get &quot;80s&quot; &quot;new wave&quot; and &quot;post-punk&quot;).
Say I wanted to do this automatically.
Say I had a Mac.

How would I go about this? &lt;br /&gt;&lt;br /&gt; I hate that none of the software I know adds genre tags automatically. And yeah, I know that people think differently about different genres, but I&apos;m willing to overlook that and just go for the most common genre &quot;opinion&quot; for now. This seems like a nice solution - I know it would go wrong on occasions, but it seems quite accurate overall.&lt;br&gt;
&lt;br&gt;
I know /some/ Ruby. I&apos;m not really proficient at it, but I could learn. Or can you think of a better way?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.81823</guid>
		<pubDate>Thu, 24 Jan 2008 04:44:53 -0800</pubDate>
		<dc:creator>Skyanth</dc:creator>
		
			<category>tags</category>
		
			<category>mp3</category>
		
			<category>lastfm</category>
		
			<category>genres</category>
		
			<category>tagging</category>
		
			<category>ID3</category>
		
			<category>music</category>
		
	</item> <item>
		<title>By: Doofus Magoo</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1212361</link>	
		<description>If it were me, I&apos;d do it in Perl, but I can&apos;t imagine it&apos;s that much different using Ruby.&lt;br&gt;
&lt;br&gt;
Audioscrobbler.net has an API that you can use to fetch the tag information for a given track -- see &lt;a href=&apos;http://ws.audioscrobbler.com/1.0/track/Metallica/Enter%20Sandman/toptags.xml&apos;&gt;here&lt;/a&gt; for an example of the XML file returned when calling the API for Metallica&apos;s Enter Sandman.&lt;br&gt;
&lt;br&gt;
From there, you&apos;d need to parse the XML file to get the three tags, and then find a Ruby library  to use that XML data to modify the tag information. &lt;a href=&apos;http://search.cpan.org/~lbrocard/MP3-ID3Lib-0.12/ID3Lib.pm&apos;&gt;Here&apos;s&lt;/a&gt; a module to do it in Perl. &lt;a href=&apos;http://id3lib-ruby.rubyforge.org/&apos;&gt;Here&apos;s&lt;/a&gt; a library to do it in Ruby.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1212361</guid>
		<pubDate>Thu, 24 Jan 2008 05:23:35 -0800</pubDate>
		<dc:creator>Doofus Magoo</dc:creator>
	</item><item>
		<title>By: Doofus Magoo</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1212362</link>	
		<description>Oh, and &lt;a href=&apos;http://www.audioscrobbler.net/data/webservices/&apos;&gt;here&apos;s&lt;/a&gt; a list of all the last.fm data that Audioscrobbler makes available via a web API.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1212362</guid>
		<pubDate>Thu, 24 Jan 2008 05:25:13 -0800</pubDate>
		<dc:creator>Doofus Magoo</dc:creator>
	</item><item>
		<title>By: ArgentCorvid</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1212436</link>	
		<description>I need this too. Favorited.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1212436</guid>
		<pubDate>Thu, 24 Jan 2008 06:59:27 -0800</pubDate>
		<dc:creator>ArgentCorvid</dc:creator>
	</item><item>
		<title>By: adamrice</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1212452</link>	
		<description>This is a great idea, and I&apos;m afraid I can&apos;t help you get closer to a solution, but one problem I see is that AFAIK the Genre field isn&apos;t designed to contain multiple elements. If you populate a track&apos;s Genre field with &quot;80s, new wave, post-punk,&quot; iTunes will show you a new genre called &quot;80s, new wave, post-punk&quot;&lt;br&gt;
&lt;br&gt;
There are, of course, ways around this. You could embed that data in a different field. I misuse the Grouping field (which really only comes into play for classical music) for my own manual tagging purposes. You could also use the Comments field, of course. Then you could use Smart Playlists (assuming you use iTunes) to access these tags.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1212452</guid>
		<pubDate>Thu, 24 Jan 2008 07:17:13 -0800</pubDate>
		<dc:creator>adamrice</dc:creator>
	</item><item>
		<title>By: mumkin</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1212654</link>	
		<description>What adamrice said. I await the day that iTunes supports the concept of multiple genres per track. You&apos;ll much better off looking for a way to dump these LastFM terms into the Comments field (I use the Groupings for &quot;featuring...&quot; &quot;and the...&quot; etc. artist info, myself). &lt;br&gt;
&lt;br&gt;
If your problem is that your library has *no* genres, and you&apos;d be satisfied by automagically assigning everything a genre, I believe that &lt;a href=&quot;http://www.beatunes.com/index.html&quot;&gt;beaTunes&lt;/a&gt; will do that for you. It&apos;s a rather a Swiss army knife of iTunes library maintenance. I used it to normalize things and auto-calculate BPM for my library some time ago. While it&apos;s dashed slow, it seemed to get the job done. There&apos;s also &lt;a href=&quot;http://musicbrainz.org/&quot;&gt;MusicBrainz&lt;/a&gt;, which may be the same metadata dataset that beaTunes uses, without offering some of the more complicated cleanup features of beaTunes. I&apos;ve not used a MusicBrainz app in a dog&apos;s age, however.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1212654</guid>
		<pubDate>Thu, 24 Jan 2008 10:05:55 -0800</pubDate>
		<dc:creator>mumkin</dc:creator>
	</item><item>
		<title>By: subbes</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1212982</link>	
		<description>I didn&apos;t realise I needed this until you asked about it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1212982</guid>
		<pubDate>Thu, 24 Jan 2008 14:51:18 -0800</pubDate>
		<dc:creator>subbes</dc:creator>
	</item><item>
		<title>By: ArgentCorvid</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1214901</link>	
		<description>Sadly, &lt;b&gt;mumkin&lt;/b&gt;, I just checked, and MusicBrainz doesn&apos;t import the Genre tag. It imports everything else though :(</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1214901</guid>
		<pubDate>Sat, 26 Jan 2008 08:22:50 -0800</pubDate>
		<dc:creator>ArgentCorvid</dc:creator>
	</item><item>
		<title>By: mumkin</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1215140</link>	
		<description>Damn, &lt;b&gt;ArgentCorvid&lt;/b&gt;, beaTunes doesn&apos;t either. How unexpected, given all that it &lt;em&gt;does&lt;/em&gt; populate (or generate through analysis).  &lt;br&gt;
&lt;br&gt;
Sorry, Skyanth, for being 100% wrong with my un-best answer.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1215140</guid>
		<pubDate>Sat, 26 Jan 2008 14:18:40 -0800</pubDate>
		<dc:creator>mumkin</dc:creator>
	</item><item>
		<title>By: Skyanth</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1216621</link>	
		<description>Seems I&apos;ll have to code this myself then. Finally some content for my website!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1216621</guid>
		<pubDate>Mon, 28 Jan 2008 03:23:40 -0800</pubDate>
		<dc:creator>Skyanth</dc:creator>
	</item><item>
		<title>By: alb</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1219682</link>	
		<description>I know that you (hypothetically) have a Mac, but there is a tool that does just what you ask on Windows: &lt;a href=&quot;http://spacoom.com/fasttagger/&quot;&gt;FastTagger&lt;/a&gt;.  &quot;Automatically tag genre for mp3 files with information from last.fm&quot;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1219682</guid>
		<pubDate>Wed, 30 Jan 2008 08:15:57 -0800</pubDate>
		<dc:creator>alb</dc:creator>
	</item><item>
		<title>By: Skyanth</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1219830</link>	
		<description>Thanks alb!&lt;br&gt;
&lt;br&gt;
a. That&apos;s a useful tool to know about, and, more importantly&lt;br&gt;
b. Through looking it up and browsing around a bit I found &lt;a href=&quot;http://cn.last.fm/forum/21604/_/285676&quot;&gt;this&lt;/a&gt;, which is getting very close to what I was actually looking for!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1219830</guid>
		<pubDate>Wed, 30 Jan 2008 09:45:05 -0800</pubDate>
		<dc:creator>Skyanth</dc:creator>
	</item><item>
		<title>By: Skyanth</title>
		<link>http://ask.metafilter.com/81823/No-more-sweet-music#1219841</link>	
		<description>Though that script is so slow it&apos;s not even funny. But hey! It works!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.81823-1219841</guid>
		<pubDate>Wed, 30 Jan 2008 09:52:33 -0800</pubDate>
		<dc:creator>Skyanth</dc:creator>
	</item>
	</channel>
</rss>
