Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

correct format/syntax for m3u?

I want to create a text file m3u playlist that iTunes on Mac (and Windows) can read, but I'm having trouble finding the correct format/syntax for writing the list so that iTunes will understand it and display the names of the songs in the list. Anyone know how?

Posted on Jul 14, 2005 7:53 PM

Reply
10 replies

Jul 21, 2005 6:12 PM in response to Beavis2084

Beavis2084 - thanks for replying. However, there are two reasons why I can't use the applescript: #1 It's the wrong direction - iTunes to m3u (I need m3u to iTunes) and #2 It's applescript which won't work on a windows machine and I need to spit out m3u's on mac and windows (I'm writing an application for both mac and windows that needs to talk iTunes on both platforms.)

Aug 13, 2005 1:32 AM in response to clanger9

Actually, that magnatune playlist, while it does work, is missing some stuff. Plus, it only plays the last track in itunes. Whereas these guys: http://www.unsignedbandweb.com play it correctly in the right order, and their playlists are up to the extended m3u spec. See my other posting about using $0A instead of the carriage return/linefeed that is usually used for separating the lines of the .m3u.

Joel

Sep 30, 2005 10:57 AM in response to David Watkinson

I've finally managed to get my M3U files imported into iTunes on the Mac using Automator on Tiger. This took some trial and error due to multiple bugs in Automator 1.0.1.

The image below shows the Automator workflow, which may be able to be simplified in later versions of Automator once the bugs are fixed. The only tricky thing about recreating this workflow yourself is making sure you type the shell script command properly.

The workflow assumes that your M3U file is a list of valid file names, optionally separated by track information on lines that start with the '#' character (these lines are ignored).

The workflow allows you to select multiple M3U files and import them into a single new or existing iTunes playlist.

http://dem.smugmug.com/photos/38101723-O.jpg

correct format/syntax for m3u?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.