Merge pull request #367 from stefansaraev/vdr

vdr-addon: add an option to wait for fe initialization
This commit is contained in:
Stephan Raue 2012-03-25 06:36:43 -07:00
commit 9fbb054508
4 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<settings>
<setting id="WAIT_FOR_FEINIT" value="false" />
<setting id="REMOVE_MODULES" value="" />
<setting id="ENABLE_DYNAMITE" value="true" />
<setting id="ENABLE_IPTV" value="false" />

View File

@ -101,6 +101,10 @@ if [ ! "$(pidof vdr.bin)" ];then
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
break
fi
if [ "$WAIT_FOR_FEINIT" == "true" ] && [ ! -e /dev/dvb/adapter*/frontend* ] ; then
sleep 1
continue
fi
LANG=en_US.UTF-8 LD_LIBRARY_PATH="$ADDON_DIR/lib:$LD_LIBRARY_PATH" vdr.bin $VDR_ARG &>$LOG_FILE
done &
fi

View File

@ -4,6 +4,7 @@
<string id="1001">Plugins</string>
<string id="1020">DVB Configuration</string>
<string id="1021">Unload DVB mudules before suspend</string>
<string id="1022">Wait for frontend initialization</string>
<string id="1030">Plugin Configuration</string>
<string id="1031">Enable plugin: iptv</string>
<string id="1032">Enable plugin: streamdev-client</string>

View File

@ -3,6 +3,7 @@
<category label="1000">
<setting label="1020" type="lsep"/>
<setting type="sep" />
<setting id="WAIT_FOR_FEINIT" type="bool" label="1022" default="false" />
<setting id="REMOVE_MODULES" type="text" label="1021" values="" default=""/>
</category>
<category label="1001">