From d933043ae784028ecfb232c4110d8d77d8c5f60a Mon Sep 17 00:00:00 2001
From: Michael Hanson <mihanson@linhes.org>
Date: Fri, 18 May 2012 22:11:02 +0000
Subject: linhes-scripts: fix typo and add nice to normalize command in
 myth2mp3

---
 abs/core/linhes-scripts/PKGBUILD | 4 ++--
 abs/core/linhes-scripts/myth2mp3 | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index 6bc7d27..e4f5f7d 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=linhes-scripts
 pkgver=7
-pkgrel=36
+pkgrel=38
 pkgdesc="Various scripts that help to make LinHES, LinHES."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -70,7 +70,7 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
          '1274bad3fb7296f00acd2d44804bad14'
          '47225fa9b6c953d56f6ede84d921a300'
          '6b6e7d34a4bda6d608d150039adefd07'
-         '06da54695f4abd5234b6533df01b50f0'
+         'db575336f4f11973ae4b839c79a31782'
          '18263972b6326e140bbef0bb7dfa2da9'
          '410795ef9039e4c6c0484e706ecfd567'
          '0750d7c65109d12aa536f312a38410d1'
diff --git a/abs/core/linhes-scripts/myth2mp3 b/abs/core/linhes-scripts/myth2mp3
index 9b13ee1..e5f98e3 100755
--- a/abs/core/linhes-scripts/myth2mp3
+++ b/abs/core/linhes-scripts/myth2mp3
@@ -1,6 +1,6 @@
 #!/bin/sh
 # convert recordings to as mp3 audio only
-# version 1.1
+# version 1.1.1
 
 # usage:
 # first parameter must be %DIR%/%FILE% of the recording
@@ -52,12 +52,12 @@ ERROR=$?
 
 # Normalize the intermediate wav
 echo "Normalizing intermediate wav..." >> $LOGFILE
-/usr/bin/normalize -q --peak "$TMPFILE.wav"
+/usr/bin/nice -n19 /usr/bin/normalize -q --peak "$TMPFILE.wav"
 ERROR=$?
 
 FFINPUTFILE=$TMPFILE.wav
 
-# Fianl encode of normalized wav to mp3
+# Final encode of normalized wav to mp3
 echo "Encoding to normalized wav to mp3..." >> $LOGFILE
 /usr/bin/nice -n19 /usr/bin/ffmpeg -i "$FFINPUTFILE" -vn -acodec libmp3lame -ab $BITRATE -ar 44100 -ac 2 "$TMPFILE.mp3"
 ERROR=$?
-- 
cgit v0.12

