summaryrefslogtreecommitdiffstats
path: root/abs/extra/web-on-linhes
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/web-on-linhes')
-rw-r--r--abs/extra/web-on-linhes/PKGBUILD11
-rw-r--r--abs/extra/web-on-linhes/web-on-linhes.install123
-rwxr-xr-xabs/extra/web-on-linhes/web-on-linhes_is.conf111
3 files changed, 121 insertions, 124 deletions
diff --git a/abs/extra/web-on-linhes/PKGBUILD b/abs/extra/web-on-linhes/PKGBUILD
index 2c68542..ec7965c 100644
--- a/abs/extra/web-on-linhes/PKGBUILD
+++ b/abs/extra/web-on-linhes/PKGBUILD
@@ -3,18 +3,21 @@
pkgname=web-on-linhes
pkgver=1.00.0
-pkgrel=4
+pkgrel=5
pkgdesc="Added multiple websites with 10' UIs to Play Online Streams."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.linhes.org/"
-depends=('chromium' 'flashplugin' 'linhes-scripts>=7-29')
+depends=('chromium' 'flashplugin' 'linhes-scripts>=7-29' )
install=web-on-linhes.install
-source=('web-on-linhes.sh')
+source=('web-on-linhes.sh' 'web-on-linhes_is.conf')
build() {
cd ${srcdir}
install -d ${pkgdir}/usr/LH/bin
install -D -m755 *.sh ${pkgdir}/usr/LH/bin
+ #add in file for gen_is.xml
+ install -D -m0744 ${srcdir}/web-on-linhes_is.conf ${pkgdir}/etc/gen_is_xml.d/web-on-linhes_is.conf
}
-md5sums=('bf15498dcbdc3852aca9cccb0aacd913')
+md5sums=('bf15498dcbdc3852aca9cccb0aacd913'
+ 'c342f02c88728b227f02018658d6ee53')
diff --git a/abs/extra/web-on-linhes/web-on-linhes.install b/abs/extra/web-on-linhes/web-on-linhes.install
index 15a5056..93f64fa 100644
--- a/abs/extra/web-on-linhes/web-on-linhes.install
+++ b/abs/extra/web-on-linhes/web-on-linhes.install
@@ -1,129 +1,12 @@
# arg 1: the new package version
post_install() {
- mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp
- grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Google Spotlight</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.google.com/tv/spotlight-gallery.html</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Blip tv</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://blip.tv/?skin=googletv</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Chow</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.chow.com/tv</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Clicker TV</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.clicker.com/</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Crackle</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.crackle.com/gtv/</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Dailymotion</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://iptv-app.dailymotion.com/dm-front-googletv/dojoroot/app/pages/webkit/index.jsp?&amp;qlang=us</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Flixster</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.flixster.com/tv/google</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Fraboom</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://fraboom.com/google/tv/ </action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>KQED</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://kqed.tv/</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Revision 3</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.revision3.com</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>The Onion</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.theonion.com/video/googletv/</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>TuneIn </text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.tunein.com/</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>Vimeo</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.vimeo.com/couchmode</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo " <button>" >> /tmp/is.xml.tmp
- echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
- echo " <text>YouTube</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.youtube.com/leanback</action>" >> /tmp/is.xml.tmp
- echo " </button>" >> /tmp/is.xml.tmp
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- echo "" >> /tmp/is.xml.tmp
- echo "</mythmenu>" >> /tmp/is.xml.tmp
- mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml
+ gen_is_xml.py
}
post_upgrade() {
- post_remove $1
- post_install $1
+ gen_is_xml.py
}
post_remove() {
- mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp
- sed -e '/\#WebOn/,/\#WebOn/d' < /tmp/is.xml.tmp > /usr/share/mythtv/themes/defaultmenu/is.xml
+ gen_is_xml.py
}
op=$1
diff --git a/abs/extra/web-on-linhes/web-on-linhes_is.conf b/abs/extra/web-on-linhes/web-on-linhes_is.conf
new file mode 100755
index 0000000..0e9ff60
--- /dev/null
+++ b/abs/extra/web-on-linhes/web-on-linhes_is.conf
@@ -0,0 +1,111 @@
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Google Spotlight</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.google.com/tv/spotlight-gallery.html</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Blip tv</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://blip.tv/?skin=googletv</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Chow</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.chow.com/tv</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Clicker TV</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.clicker.com/</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Crackle</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.crackle.com/gtv/</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Dailymotion</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://iptv-app.dailymotion.com/dm-front-googletv/dojoroot/app/pages/webkit/index.jsp?&amp;qlang=us</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Flixster</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.flixster.com/tv/google</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Fraboom</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://fraboom.com/google/tv/ </action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>KQED</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://kqed.tv/</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Revision 3</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.revision3.com</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>The Onion</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.theonion.com/video/googletv/</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>TuneIn </text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.tunein.com/</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>Vimeo</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.vimeo.com/couchmode</action>
+ </button>
+ <!--#WebOnTV-->
+
+ <!--#WebOnTV-->
+ <button>
+ <type>STREAM</type>
+ <text>YouTube</text>
+ <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.youtube.com/leanback</action>
+ </button>
+ <!--#WebOnTV-->