sundtek-mediatv: fixed (some) errors

This commit is contained in:
vpeter4 2014-11-08 12:37:54 +01:00
parent 9d253c1541
commit d7d844f331
4 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,6 @@
4.3.4
fixed xbmc/kodi rebranding error
removed driver update option (can't run script from addon settings anymore)
4.3.3 4.3.3
addon transformed to service addon addon transformed to service addon
new addon settings option to enable to check for new driver at boot new addon settings option to enable to check for new driver at boot

View File

@ -18,7 +18,7 @@
PKG_NAME="sundtek-mediatv" PKG_NAME="sundtek-mediatv"
PKG_VERSION="4.3" PKG_VERSION="4.3"
PKG_REV="3" PKG_REV="4"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="nonfree" PKG_LICENSE="nonfree"
PKG_SITE="http://support.sundtek.com/" PKG_SITE="http://support.sundtek.com/"
@ -29,7 +29,7 @@ PKG_SECTION="driver/dvb"
PKG_SHORTDESC="Sundtek USB Stick DVB userspace driver" PKG_SHORTDESC="Sundtek USB Stick DVB userspace driver"
PKG_LONGDESC="Driver for Sundtek MediaTV Pro (DVB-C, DVB-T, AnalogTV, Composite, S-Video, FM-Radio USB Stick) and Sundtek SkyTV Ultimate (DVB-S/S2 USB)." PKG_LONGDESC="Driver for Sundtek MediaTV Pro (DVB-C, DVB-T, AnalogTV, Composite, S-Video, FM-Radio USB Stick) and Sundtek SkyTV Ultimate (DVB-S/S2 USB)."
PKG_IS_ADDON="yes" PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="kodi.service" PKG_ADDON_TYPE="xbmc.service"
PKG_AUTORECONF="no" PKG_AUTORECONF="no"
make_target() { make_target() {
@ -49,6 +49,7 @@ make_target() {
esac esac
wget -O installer.tar.gz $INSTALLER_URL wget -O installer.tar.gz $INSTALLER_URL
tar -xzf installer.tar.gz tar -xzf installer.tar.gz
chmod -R 755 opt/ etc/
wget -O version.used http://sundtek.de/media/latest.phtml wget -O version.used http://sundtek.de/media/latest.phtml
} }
@ -58,9 +59,6 @@ makeinstall_target() {
} }
addon() { addon() {
# wtf sundtek ????! mediasrv 0111/---x--x--x
chmod 755 $PKG_BUILD/opt/bin/mediasrv
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/
cp -P $PKG_DIR/config/* $ADDON_BUILD/$PKG_ADDON_ID/config/ cp -P $PKG_DIR/config/* $ADDON_BUILD/$PKG_ADDON_ID/config/
cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/ cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/

View File

@ -77,6 +77,8 @@ if [ $? -ne 0 ]; then
exit 4 exit 4
fi fi
chmod -R 755 opt/ etc/
killall -9 mediaclient &>/dev/null killall -9 mediaclient &>/dev/null
killall -9 mediasrv &>/dev/null killall -9 mediasrv &>/dev/null

View File

@ -29,9 +29,11 @@
<setting id="ENABLE_TUNER_TYPES" type="bool" label="9005" default="true" /> <setting id="ENABLE_TUNER_TYPES" type="bool" label="9005" default="true" />
<setting label="9010" option="close" type="action" action="RunScript($ID, refresh_tuners)" /> <setting label="9010" option="close" type="action" action="RunScript($ID, refresh_tuners)" />
</category> </category>
<!--
<category label="3000"> <category label="3000">
<setting type="sep" /> <setting type="sep" />
<setting id="CHECK_BOOT" type="bool" label="3020" default="false" /> <setting id="CHECK_BOOT" type="bool" label="3020" default="false" />
<setting label="3010" option="close" type="action" action="RunScript($ID, update_driver)" /> <setting label="3010" option="close" type="action" action="RunScript($ID, update_driver)" />
</category> </category>
-->
</settings> </settings>