I've been experimenting with a watch folder for an iTunes import rule (yeah I know one exists in iTunes already) in Hazel. The rule is simple: if kind is music
System notification: Importing file.xxx
Import into iTune Playlist Jazz
Move to Trash
Here are my questions and discoveries:
1. As I have found out, one has to check "Share iTunes library XML" in iTunes' Prefs. PLEASE put those kinds of hard requirements into your help verbiage. Cost me 15 minutes.
2. Once checked, Hazel presented the following "playlists": Library, ####.####, iTunesU, Podcast, Apps, Purchased, and Books. Not the "playlists" i was expecting. Missing were all of my Smart Playlists including one called "Jazz". I then created a dumb Playlist called Jazz and selected it (I thought). Importing then worked, but the song only appeared in the smartlist Jazz.
3. Success ended on the second album. This time I put a folder of mp3s into the watch folder. Not surprisingly, nothing happened, I imagine because its kind is Folder, not Music. So, I pulled two cuts from the subfolder into the main level of the watch folder. I get a notification: "iTunes import failed; could not add file xxx to iTunes." This turns out to be untrue; it has been successfully copied into the iTunes Music folder. However, the file was not trashed.
So, sorry for the length: my specific questions are:
1. Why require a playlist at all? Make it optional. And make it work with smart playlists.
2. Why am I getting a failed notice for a successful import?
3. Is there syntax around to allow a folder of tunes to be processed? Could you point me to it or something similar?
4. If its knowable, what is the ####.#### playlist?
Thanks, JV