Export to Audi MMI 1.0
by Kip Graham, 2009.
Last Updated: 22 Nov 2009
LINK TO IMAGE FILE:
http://www.dexterparadise.com/Projects/AppleScript/Export to Audi MMI.dmg
SUMMARY:
This is an AppleScript that I originally created because I couldn't find an easy, fast way to export music or a playlist to an SD memory stick in a format playable by my Audi RS 4. The Audi Multi Media Interface requires songs to be in MP3 format, and all playlists in M3U format. As such, I created this script to create M3U playlists and to copy or convert songs and place them in organized folders by artist. It can also create Genre playlists.
This is one of my first AppleScript efforts, and certainly the first one I'm distributing. As such, please feel free to send me feedback at the above email address but keep in mind I do have a day job too!
COMPATIBILITY:
Not much I can tell you on this part besides the obvious - you have to be running iTunes on a Mac
INSTALLATION:
The included file is an AppleScript application, focusing mostly on iTunes as it's target application. As such, all you have to do is drag it into [your_username]>Library>iTunes>Scripts and then look for the S-shaped scripts menu in iTunes.
WORKFLOW:
There are various options when running this script. They are:
1) You can choose between exporting just the songs selected or the entire playlist visible. If you choose to export the playlist, we also create an M3U playlist file in a location of your choice.
2) You can choose where you want the music and where you want the playlist saved, and in the process the script calculates a relative link between the two locations (and subfolders).
3) You can choose to copy the files directly or convert them to a different format, picking from any of the formats iTunes can convert to. At this time, DRM-protected files (M4P most commonly) can't be converted, so after the first conversion error we offer the ability to skip M4P automatically. If a file is already in the desired format, we save time by copying instead.
4) After all the conversion (and optionally the playlist generation), we offer the user the option to update or create Genre playlists wherein we add the current list of exported songs to playlists that match the songs' genre. The application can time out waiting for the user feedback (ie, if you let it run overnight or while you're away), at which point all the songs you've added don't get added to Genre playloists. I tried to create something that would parse through the folders to recreate the files, but I can't acces the ID3 tags and as such can't get the genre...
ACKNOWLEDGEMENTS:
Many thanks go to Doug Adams (Doug's AppleScripts for iTunes) for posting his iTunes applescripts, tips, etc, and making them freely available; there are several lines of code below that I couldn't have completed on my own. His expertly-written read-me is also the source of the nifty disclaimer below.
ABOUT KIP:
Kip Graham is an investment banker in New York who works with hedge funds as part of his firm's Prime Brokerage relationships (and no, not in IT!). He has always been an avid fan of technology, having taught himself web design, web programming, some desktop programming, and scripting both in Excel VBScript and now AppleScript. Although he does enjoy challenges and likes producing useful tools as a hobby, he also works around 60-75 hours per week in his official job. As such, please understand if he seems unresponsive to emails at the above address at times!
VERSION HISTORY AND CHANGES:
version 1.0, 22 Nov 2009
- initial version (and possibly the only one!)
This software is released "as-is". By using it or modifying it you agree that its author cannot be held responsible or liable for any damage or loss resulting thereof.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
or visit http://www.gnu.org/copyleft/gpl.html
AppleScript and iTunes are registered trademarks of Apple Computer, Inc.
Audi, MMI, Multi Media Interface, and RS 4 are probably registered trademarks of AUDI AG