summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-05-18 22:11:02 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-05-18 22:11:02 (GMT)
commitd933043ae784028ecfb232c4110d8d77d8c5f60a (patch)
treea293800b5c5ff78d2e961397ae285b8e518ed42b /abs/core
parent37ae9166eca021c99091570ef240ea7d69f13008 (diff)
downloadlinhes_pkgbuild-d933043ae784028ecfb232c4110d8d77d8c5f60a.zip
linhes_pkgbuild-d933043ae784028ecfb232c4110d8d77d8c5f60a.tar.gz
linhes_pkgbuild-d933043ae784028ecfb232c4110d8d77d8c5f60a.tar.bz2
linhes-scripts: fix typo and add nice to normalize command in myth2mp3
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/linhes-scripts/PKGBUILD4
-rwxr-xr-xabs/core/linhes-scripts/myth2mp36
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=$?