beaTunes News

Wednesday, December 17, 2008

Copy Keys to Grouping Plugin

beaTunes LogoWe all know the problem: iTunes does not show tonal key information available in beaTunes. To solve it, I wrote a little beaTunes 2.0 plugin, that copies the key info into the (often unused) grouping field. Just download the this file and place it into your plugin directory. Make sure that it is the only version of the plugin in that folder - i.e. remove any older versions.

The location of your plugin directory depends on your operating system:

  • XP: c:\Documents and Settings\[username]\.beaTunes\plugins
  • Vista: c:\Users\[username]\.beaTunes\plugins
  • OS X: [your_home]/Library/Application Support/beaTunes/Plug-Ins

If you're interested in how the plugin works - it's trivial and here's the maven project complete with Java sources. Just make sure you somehow point to the beaTunes binaries for compilation.


This plugin needs at least beaTunes 2.0.3 to work correctly!

Note: This post has been updated to reflect changes in EA16 and changed again to reflect changes in 2.0.3.

Labels: , , ,


Anonymous Anonymous said...

Could you possibly append the key info to comments? Maybe you could surround the key with bullets or some other special character so it wouldn't be confused with existing comment text.

I'd like it moved because I use the Grouping field for tagging classical music. I do it that way because that's what the iTunes Store does when they display Classical Works for a composer (see for example, "J.S. Bach: Violin Concertos BWV 1041 & BWV 1042 - Gubaidulina: In Tempus Praesens" in the iTunes Store and view it by composer). Someday Apple may add that turning triangle feature to iTunes proper and they'll most likely add it to the Grouping column, but the feature won't work if every group entry has different text (i.e., different keys added).

December 25, 2008 at 6:54:00 PM EST  
Blogger beaTunes said...

Yes, the key could easily be copied to the comments field instead of grouping. In the source code one could probably simply do a search and replace for Grouping to Comment and recompile the whole thing. That should do the trick.

December 26, 2008 at 3:27:00 AM EST  
Anonymous Anonymous said...

A friend at work mentioned this app and I just started using it and I am excited that it can analyze the keys but like the original poster said adding it to the comments would be great because I would also use this app with a DJing program, Traktor Scratch Pro and it does not show grouping.
I looked at the code but I have no idea how Java or coding works. Any help would be appreciated.

March 22, 2009 at 10:47:00 PM EST  
Blogger beaTunes said...

Basically, you just have to replace "Grouping" with "Comments" in the source and then rebuild the plugin and re-install in the plugins folder.
So for getGrouping() you'd write getComments() and for setGrouping(...) you'd write setComments(...). Compilation is a little tricky, if you are new to Java or Maven, because the dependencies are not hosted in a public repository. I hope to find time to make this a little easier in the future.

March 23, 2009 at 10:23:00 AM EST  
Blogger beaTunes said...

Check this out :-)

That aside, compilation got a lot easier. Just do

mvn clean install

in the maven project.

March 27, 2009 at 5:10:00 PM EST  
Blogger Loopy C said...

Cool, thanks for sending this out in the newsletter, I just upgraded and this is a most welcome (and long desired) utility ;-)

March 31, 2009 at 10:11:00 AM EST  
Blogger Nik Reiman said...

It seems that this plugin crashes beaTunes 3.0.2. Is there any fix in sight?

August 1, 2011 at 4:30:00 AM EST  
Blogger beaTunes said...

@Nik: This is an ancient version of the plugin that probably doesn't even work with beaTunes 2.1.

Please open the preferences in beaTunes 3 and go to the plugin pane. There you should be able to find everything it takes to install a/this plugin.

Also see

August 1, 2011 at 4:40:00 AM EST  

Post a Comment

<< Home