tvheadend: never load userspace hdhr driver

tvheadend has native hdhr support
This commit is contained in:
Stefan Saraev 2014-12-13 23:20:31 +02:00 committed by Stephan Raue
parent 1ef63e8c28
commit baaa54b38a

View File

@ -67,6 +67,10 @@ fi
# start userspace DVB driver/addon
for driver_dvb in $(find /storage/.kodi/addons/driver.dvb.*/bin/userspace-driver.sh -type f 2>/dev/null); do
driver_dvb_name=$(echo $driver_dvb | awk 'BEGIN {FS="/"} {printf("%s", $5)}')
if [ "$driver_dvb_name" == "driver.dvb.hdhomerun" ] ; then
# tvheadend has native hdhr support. avoid loading the driver.
continue
fi
logger -t Tvheadend "### Loading userspace DVB driver: $driver_dvb_name ###"
# use ". " because of variable export
. $driver_dvb