On 01/09/16 15:06, Shevek wrote:
2) Why would you use Cygwin with Windows 10 when it now has built in BASH [2]

On that note, here is what i use to convert. Install ffmpeg and make sure it's in your PATH

========================= SNIP ================================

#!/bin/bash
# get_iplayer now saving as m4a
# Allow for a different source directory but still place conversions in current 
dir
working_dir=.
if [ $# -eq 1 ]
then
    working_dir=$1
fi
for f in "$working_dir"/*.m4a
do
    # Don't attempt to encode files already processed
    echo "Processing $f..."
    test -f "$f.mp3" || ffmpeg -i "$f" $(basename "$f").mp3
done

========================= SNIP ================================



_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to