Look here (it isn’t mine): Export-iTunes-Playlists/ExportPlaylists.applescript at master · dpet23/Export-iTunes-Playlists · GitHub
There is a handler that creates .m3u files, among other things. You can study the script and adapt this handler.
Look here (it isn’t mine): Export-iTunes-Playlists/ExportPlaylists.applescript at master · dpet23/Export-iTunes-Playlists · GitHub
There is a handler that creates .m3u files, among other things. You can study the script and adapt this handler.