For those of you who may have downloaded my script for exporting an iTunes playlist as an M3U file for the Sansa Clip, I revised the script to address an issue that has been brought to my attention recently by forum members. The revised script is now available at the download site provided in my original post, i.e., here: http://sharefiles.quietlakephoto.com/scripts/itunes2clip_download.html
The issue in question occurred when the iTunes playlist (to export) contained non-MP3 format tracks. Originally my script was designed assuming all playlist tracks were in MP3 format (since the Clip plays only MP3). With this revision I have changed the readme file Description section to state:
This applescript works with iTunes to allow exporting iTunes playlists in the M3U format as required by the Sandisk Sansa Clip mp3 player when in the USB mode: MSC. It will export any playlist created in iTunes, however, if the playlist contains non-MP3 format tracks, e.g., MP4, M4A, WAV, AIFF, etc., you will be alerted that those tracks must be converted and that they will not be included on the exported playlist.
And the code had been revised as follows:
* Added code to detect for non-MP3 tracks in playlist. If detected, user is alerted and informed the track must be converted. The track is not processed and not included on the export Clip playlist. I did not build-in conversion to MP3 for several reasons: 1) the iTunes script function, convert, runs asynchonous and I did not want to work on that problem given that, 2) I decided it would be best to let the user decide if and how they want to do the conversion, e.g., do they want certain enocoder quality settings (these are not scriptable), and do they want to keep both the original and the converted version.
Message Edited by kwanzan on 08-27-2008 09:22 AM