iTunesFS allows you to mount the "iTunes Music Library.xml" file as a file system, using the excellent MacFUSE. All playlists are exposed as directories, with their respective entries. Order of tracks within the playlists is maintained by prefixing the tracks with their playlist index.
What's new in this version:
Try all mountedLocalVolumePaths in addition to mountedRemovableMedia as iPods (and/or iPhones). If you're using i.e. iExplorer to mount your iPhone, this will now work out of the box.