Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Convert WMA to WAV files for iTunes import' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Convert WMA to WAV files for iTunes import
Authored by: posterlu on Mar 08, '07 12:14:38AM
I had some issues with changed options to mplayer and lame. Here is an updated version: #!/bin/bash
for i in *.wma
do
mplayer -ao pcm:file="${i%.wma}.wav" "$i" && lame --preset standard "${i%.wma}.wav" "${i%.wma}.mp3"
rm "${i%.wma}.wav"
done
It still has one issue though, files with a comma are renamed wrong, ie. everything after the comma is missing. I have not troubleshooted this further yet.

[ Reply to This | # ]