diff --git a/scripts/download_testfiles.sh b/scripts/download_testfiles.sh index 42da360..ee46600 100755 --- a/scripts/download_testfiles.sh +++ b/scripts/download_testfiles.sh @@ -62,7 +62,7 @@ download() { fi } -download_rsync() { +download_custom() { title="$1" cmd="$2" inform "Downloading \"$title\" ..." @@ -92,10 +92,16 @@ download \ 'matroska_test_w1_1.zip' \ 'matroska_wave1' -download_rsync \ +destdir='mtx-test-data' +download_custom \ 'MTX Test Data' \ 'rsync -rv --links --delete belgarath.bunkus.org::mtx-test-data mtx-test-data' +destdir='samples.mplayerhq.hu' +download_custom \ + 'MPlayer samples' \ + 'wget -r -np -R index.html* http://samples.mplayerhq.hu/A-codecs/lossless' + # convert FLAC files for FLAC tests with ffmpeg mkdir -p flac [[ ! -f flac/test.flac ]] && ffmpeg -i mtx-test-data/alac/othertest-itunes.m4a -c:a flac flac/test.flac # raw FLAC stream