Results 1 to 2 of 2

Thread: No-temp-files patch for encode-mp3/ogg

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    York, UK
    Posts
    134

    Default No-temp-files patch for encode-mp3/ogg

    Code:
    diff --git a/pts/test-resources/encode-mp3/install.sh b/pts/test-resources/encode-mp3/install.sh
    index f8abfa0..71a9d64 100644
    --- a/pts/test-resources/encode-mp3/install.sh
    +++ b/pts/test-resources/encode-mp3/install.sh
    @@ -19,6 +19,5 @@ cd ..
     rm -rf lame-3.97/
    
     echo "#!/bin/sh
    -rm -f audio.mp3
    -/usr/bin/time -f \"WAV To MP3 Encode Time: %e Seconds\" ./lame_/bin/lame --silent -h ../pts-shared/pts-trondheim.wav audio.mp3 2>&1" > lame
    +/usr/bin/time -f \"WAV To MP3 Encode Time: %e Seconds\" ./lame_/bin/lame --silent -h ../pts-shared/pts-trondheim.wav /dev/null 2>&1" > lame
     chmod +x lame
    diff --git a/pts/test-resources/encode-mp3/post.sh b/pts/test-resources/encode-mp3/post.sh
    deleted file mode 100644
    index 77ab096..0000000
    --- a/pts/test-resources/encode-mp3/post.sh
    +++ /dev/null
    @@ -1,4 +0,0 @@
    -#!/bin/sh
    -
    -cd $1
    -rm -f audio.mp3
    diff --git a/pts/test-resources/encode-mp3/pre.sh b/pts/test-resources/encode-mp3/pre.sh
    deleted file mode 100644
    index 77ab096..0000000
    --- a/pts/test-resources/encode-mp3/pre.sh
    +++ /dev/null
    @@ -1,4 +0,0 @@
    -#!/bin/sh
    -
    -cd $1
    -rm -f audio.mp3
    diff --git a/pts/test-resources/encode-ogg/install.sh b/pts/test-resources/encode-ogg/install.sh
    index ee01acd..9f6ec50 100644
    --- a/pts/test-resources/encode-ogg/install.sh
    +++ b/pts/test-resources/encode-ogg/install.sh
    @@ -36,5 +36,5 @@ cd ..
     rm -rf vorbis-tools-1.2.0/
    
     echo "#!/bin/sh
    -/usr/bin/time -f \"WAV To OGG Encode Time: %e Seconds\" ./vorbis/bin/oggenc --quiet ../pts-shared/pts-trondheim.wav -q 10 -o audio.ogg 2>&1" > oggenc
    +/usr/bin/time -f \"WAV To OGG Encode Time: %e Seconds\" ./vorbis/bin/oggenc --quiet ../pts-shared/pts-trondheim.wav -q 10 -o /dev/null 2>&1" > oggenc
     chmod +x oggenc
    diff --git a/pts/test-resources/encode-ogg/post.sh b/pts/test-resources/encode-ogg/post.sh
    deleted file mode 100644
    index acccc70..0000000
    --- a/pts/test-resources/encode-ogg/post.sh
    +++ /dev/null
    @@ -1,4 +0,0 @@
    -#!/bin/sh
    -
    -cd $1
    -rm -f audio.ogg
    diff --git a/pts/test-resources/encode-ogg/pre.sh b/pts/test-resources/encode-ogg/pre.sh
    deleted file mode 100644
    index e070224..0000000
    --- a/pts/test-resources/encode-ogg/pre.sh
    +++ /dev/null
    @@ -1,5 +0,0 @@
    -#!/bin/sh
    -
    -cd $1
    -rm -f audio.ogg
    -

  2. #2

    Default

    Once again, many thanks. Committed to master and also manually updated Phorogit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •