summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-10 23:34:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-10 23:34:31 (GMT)
commitd9ddf78479ac05e694b906dc1b9fc3e5912a7f41 (patch)
tree4806a18a6ec515ec885c0fb93394f1cfaa03b8d2 /abs
parent11b32e0a76482a958306807af483bad63736f94f (diff)
downloadlinhes_pkgbuild-d9ddf78479ac05e694b906dc1b9fc3e5912a7f41.zip
linhes_pkgbuild-d9ddf78479ac05e694b906dc1b9fc3e5912a7f41.tar.gz
linhes_pkgbuild-d9ddf78479ac05e694b906dc1b9fc3e5912a7f41.tar.bz2
LinHES-system: change_channel.sh calls $MYTHHOME/post_channel_changel. This can be used for custom scripts that occur after a channel change. For instance setting the audio input device on pvr-xxx cards to get rid of tinny audio
refs #879
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-system/change_channel.sh10
2 files changed, 12 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 006db84..524b090 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=2
-pkgrel=125
+pkgrel=126
arch=('i686' 'x86_64')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
@@ -115,7 +115,7 @@ md5sums=('06bc649bce56c22b9a1f56890e0765b6'
'45f46d1f9193c8dde18e56369ec29a1e'
'a8edbe7bc37e9932e8749d9f5f89c16f'
'116b0f62ed4e8dd6e437930deeb6e49e'
- '0ca244610ab1f68f70a8af0ddefee277'
+ '17f678d37187be0f12d67f64e40429c6'
'bacc813b48bafcc6fe906e5969930501'
'eb879fee9603a05d5420d4ce8ed9e450'
'6782771960c495aeb597893f37d1e5ee'
diff --git a/abs/core/LinHES-system/change_channel.sh b/abs/core/LinHES-system/change_channel.sh
index 3337785..ff59834 100755
--- a/abs/core/LinHES-system/change_channel.sh
+++ b/abs/core/LinHES-system/change_channel.sh
@@ -7,6 +7,14 @@ echo $@ > /tmp/change_channel.log
LOCKFILE=/tmp/lirclock
export PATH=/bin:/usr/bin:/usr/local/bin
+function post_channel(){
+ if [ -f $MYTHHOME/post_channel_change ]
+ then
+ echo "CALLING $MYTHHOME/post_channel $TRANSMITTER"
+ $MYTHHOME/post_channel $TRANSMITTER
+ fi
+
+ }
@@ -141,6 +149,7 @@ do
done
change_channel
+post_channel
rm -f /tmp/lirclock
@@ -164,3 +173,4 @@ rm -f /tmp/lirclock
+