Here is a little Bash tip as english translation of an article by the german partner radio frei²: Converting all audio files within a M3U playlist in a fast and easy way. In the following example we want to decode all FLAC files into WAV for burning an audio CD:
while read line; do flac -d "$line"; done < PLAYLIST.M3U
The file PLAYLIST.M3U is in the so-called "simple M3U format". That means, each line of the playlist contains exactly one audio file name.
- Twitter Trackbacks for Bash tip: Convert whole playlist - FRee-K Sounds News [free-k-sounds.net] on Topsy.com