I am also trying to use beet alongside itunes. I am still trying to figure out an optimized workflow.
My itunes collection is around 100K tracks. I always run any incoming music thru musicbrainz picard (with the last.fm.plus plugin) before importing to itunes. There are always some tracks that dont get recognized (mainly IMHO due to the fact that picard does not easily use information from discogs). I have begun also running my music thru beet before importing - primarily to leverage the lastgenre plugin. lastgenre seems to work a lot better than the last.fm.plus picard plugin. I do the following to a folder of music before importing:
beet -l ~/tempdb.blb import -C -A -p -s ./
beet -l ~/tempdb.blb write
beet -l ~/tempdb.blb remove
I am now trying to figure out easy way to do something similar to files that are already in the itunes music file structure (obviously not renaming the files in any way). I have had limited success sofar. I can select a group of tracks in itunes and copy them to the clipboard. The clipboard then contains the paths of all the selected itunes tracks separated by spaces. I then run the following command - pasting the clipboard contents at the end.
beet -l ~/tempdb.blb import -C -A -p -s (paste clipboard here)
beet -l ~/tempdb.blb write
beet -l ~/tempdb.blb remove
It works well enough i guess. I then use an applescript to get itunes to refresh its database with the new tag information:
tell application "iTunes"
refresh selection
end tell
I have experimented with using $(pbpaste) in a script instead of pasting directly into the terminal app but it seems that the contents of the clipboard change depending on the application you are pasting to. in this case if you past to
terminal.app you get file paths. if you paste into a text editor (or use $(pbpaste) ) you get the column text contents displayed by itunes instead of a file path.
My next wish is to find an applescript that will do what these 3 commands do with the files i have selected in itunes. Maybe I should post in this group to see how feasible this is?
I will also second Makr Sigler in giving props to "doug" of dougscripts. There are so many useful tools on his website. The single most useful tool being the wonderful Dupin.app. The killer feature is the rating/skip-count/last-played history consolidation feature and the re-playlist feature that fixes playlists containing tracks that have been removed by the process.