Created
June 11, 2016 08:12
-
-
Save MrCirdo/9bcf9146ba34ef8b08a185a88c398432 to your computer and use it in GitHub Desktop.
Conversion de fichier vers mp3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set folders to (choose file multiple selections allowed 1) | |
repeat with thePath in folders | |
set thePathTerminal to quoted form of the POSIX path of thePath | |
set command to "/Applications/VLC.app/Contents/MacOS/VLC -I dummy " & thePathTerminal & " --sout=\"#transcode{acodec=mp3,vcodec=dummy}:standard{access=file,mux=raw,dst=" & text 1 thru -2 of thePathTerminal & ".mp3'}\" vlc://quit" | |
do shell script command | |
end repeat | |
display notification "Conversions terminées" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment