mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
vdr-addon: add option to override epg charset
This commit is contained in:
parent
612baa093e
commit
de61e2d629
@ -76,6 +76,12 @@ if [ "$ENABLE_EXTERNAL_RECCMD" == "true" ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$ENABLE_CHARSET_OVERRIDE" == "true" ] ; then
|
||||
if [ ! -z "$CHARSET_OVERRIDE_STR" ] ; then
|
||||
VDR_CHARSET_OVERRIDE="$CHARSET_OVERRIDE_STR"
|
||||
fi
|
||||
fi
|
||||
|
||||
# keep softcam first
|
||||
if [ "$ENABLE_SOFTCAM" == "true" ] ; then
|
||||
VDR_ARG="$VDR_ARG -P dvbapi"
|
||||
@ -163,4 +169,4 @@ if [ "$WAIT_FOR_FEINIT" == "true" ] ; then
|
||||
fi
|
||||
|
||||
fix_config
|
||||
eval LANG=en_US.UTF-8 exec vdr.bin $VDR_ARG
|
||||
eval LANG=en_US.UTF-8 VDR_CHARSET_OVERRIDE="$VDR_CHARSET_OVERRIDE" exec vdr.bin $VDR_ARG
|
||||
|
@ -7,6 +7,8 @@
|
||||
<string id="1021">Unload DVB mudules before suspend</string>
|
||||
<string id="1022">Wait for frontend initialization</string>
|
||||
<string id="1023">Number of adapters to wait for</string>
|
||||
<string id="1024">Enable charset override</string>
|
||||
<string id="1025">- charset</string>
|
||||
<string id="1030">Plugin Configuration</string>
|
||||
<string id="1031">Enable plugin: iptv</string>
|
||||
<string id="1032">Enable plugin: streamdev-client</string>
|
||||
|
@ -6,6 +6,8 @@
|
||||
<setting id="WAIT_FOR_FEINIT" type="bool" label="1022" default="false" />
|
||||
<setting id="NUM_ADAPTERS" type="number" label="1023" default="1" enable="eq(-1,true)" />
|
||||
<setting id="REMOVE_MODULES" type="text" label="1021" values="" default=""/>
|
||||
<setting id="ENABLE_CHARSET_OVERRIDE" type="bool" label="1024" default="false" />
|
||||
<setting id="CHARSET_OVERRIDE_STR" type="text" label="1025" visible="!eq(-1,false)" default="" />
|
||||
</category>
|
||||
<category label="1002">
|
||||
<setting label="1051" type="lsep"/>
|
||||
|
@ -20,4 +20,6 @@
|
||||
<setting id="ENABLE_SATIP" value="false" />
|
||||
<setting id="ENABLE_EXTERNAL_RECCMD" value="false" />
|
||||
<setting id="EXTERNAL_RECCMD_PATH" value="" />
|
||||
<setting id="ENABLE_CHARSET_OVERRIDE" value="false" />
|
||||
<setting id="CHARSET_OVERRIDE_STR" value="" />
|
||||
</settings>
|
||||
|
Loading…
x
Reference in New Issue
Block a user