mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #305 from MilhouseVH/k17_fixes
kodi: Fixes for various settings
This commit is contained in:
commit
ab28a93c88
@ -17,7 +17,4 @@
|
|||||||
<samba>
|
<samba>
|
||||||
<clienttimeout>30</clienttimeout>
|
<clienttimeout>30</clienttimeout>
|
||||||
</samba>
|
</samba>
|
||||||
<network>
|
|
||||||
<readbufferfactor>4.0</readbufferfactor>
|
|
||||||
</network>
|
|
||||||
</advancedsettings>
|
</advancedsettings>
|
||||||
|
@ -18,6 +18,11 @@
|
|||||||
<visible>false</visible>
|
<visible>false</visible>
|
||||||
</setting>
|
</setting>
|
||||||
</group>
|
</group>
|
||||||
|
<group id="3">
|
||||||
|
<setting id="videoscreen.noofbuffers">
|
||||||
|
<default>2</default>
|
||||||
|
</setting>
|
||||||
|
</group>
|
||||||
</category>
|
</category>
|
||||||
<category id="audio">
|
<category id="audio">
|
||||||
<group id="1">
|
<group id="1">
|
||||||
|
@ -22,23 +22,6 @@
|
|||||||
# done in kodi on addon install. but just in case..
|
# done in kodi on addon install. but just in case..
|
||||||
chmod +x /storage/.kodi/addons/*/bin/*
|
chmod +x /storage/.kodi/addons/*/bin/*
|
||||||
|
|
||||||
# Nasty hack to work around OE to LE migration - Addons*.db needs to forget all about OE addons
|
|
||||||
ADDONSDB=$(ls -1 /storage/.kodi/userdata/Database/Addons23.db 2>/dev/null)
|
|
||||||
if [ -n "${ADDONSDB}" ]; then
|
|
||||||
OEREPO="'repository.openelec.tv'"
|
|
||||||
|
|
||||||
if [ -n "$(sqlite3 $ADDONSDB "SELECT id FROM repo WHERE addonID IN (${OEREPO})")" ]; then
|
|
||||||
|
|
||||||
[ -f ${ADDONSDB}.OE2LE_Backup ] || cp ${ADDONSDB} ${ADDONSDB}.OE2LE_Backup
|
|
||||||
|
|
||||||
sqlite3 $ADDONSDB "DELETE FROM addon WHERE id IN (SELECT idAddon FROM addonlinkrepo a JOIN repo b ON (a.idRepo = b.id) WHERE b.addonID in (${OEREPO}))"
|
|
||||||
sqlite3 $ADDONSDB "DELETE FROM addonextra WHERE id IN (SELECT idAddon FROM addonlinkrepo a JOIN repo b ON (a.idRepo = b.id) WHERE b.addonID in (${OEREPO}))"
|
|
||||||
sqlite3 $ADDONSDB "DELETE FROM dependencies WHERE id IN (SELECT idAddon FROM addonlinkrepo a JOIN repo b ON (a.idRepo = b.id) WHERE b.addonID in (${OEREPO}))"
|
|
||||||
sqlite3 $ADDONSDB "DELETE FROM addonlinkrepo WHERE idRepo in (SELECT id FROM repo WHERE addonID IN (${OEREPO}))"
|
|
||||||
sqlite3 $ADDONSDB "DELETE FROM repo WHERE addonID IN (${OEREPO})"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hack: update RSSnews.xml in userdata
|
# hack: update RSSnews.xml in userdata
|
||||||
if [ -f /storage/.kodi/userdata/RssFeeds.xml ]; then
|
if [ -f /storage/.kodi/userdata/RssFeeds.xml ]; then
|
||||||
sed -e "s,http://libreelec.tv/news?format=feed&type=rss,http://feeds.libreelec.tv/news,g" \
|
sed -e "s,http://libreelec.tv/news?format=feed&type=rss,http://feeds.libreelec.tv/news,g" \
|
||||||
|
@ -12,9 +12,4 @@
|
|||||||
<samba>
|
<samba>
|
||||||
<clienttimeout>30</clienttimeout>
|
<clienttimeout>30</clienttimeout>
|
||||||
</samba>
|
</samba>
|
||||||
|
|
||||||
<network>
|
|
||||||
<readbufferfactor>4.0</readbufferfactor>
|
|
||||||
</network>
|
|
||||||
|
|
||||||
</advancedsettings>
|
</advancedsettings>
|
||||||
|
@ -12,9 +12,4 @@
|
|||||||
<samba>
|
<samba>
|
||||||
<clienttimeout>30</clienttimeout>
|
<clienttimeout>30</clienttimeout>
|
||||||
</samba>
|
</samba>
|
||||||
|
|
||||||
<network>
|
|
||||||
<readbufferfactor>4.0</readbufferfactor>
|
|
||||||
</network>
|
|
||||||
|
|
||||||
</advancedsettings>
|
</advancedsettings>
|
||||||
|
@ -6,10 +6,6 @@
|
|||||||
<clienttimeout>30</clienttimeout>
|
<clienttimeout>30</clienttimeout>
|
||||||
</samba>
|
</samba>
|
||||||
|
|
||||||
<network>
|
|
||||||
<readbufferfactor>4.0</readbufferfactor>
|
|
||||||
</network>
|
|
||||||
|
|
||||||
<pvr>
|
<pvr>
|
||||||
<minvideocachelevel>5</minvideocachelevel>
|
<minvideocachelevel>5</minvideocachelevel>
|
||||||
<minaudiocachelevel>20</minaudiocachelevel>
|
<minaudiocachelevel>20</minaudiocachelevel>
|
||||||
|
@ -6,10 +6,6 @@
|
|||||||
<clienttimeout>30</clienttimeout>
|
<clienttimeout>30</clienttimeout>
|
||||||
</samba>
|
</samba>
|
||||||
|
|
||||||
<network>
|
|
||||||
<readbufferfactor>4.0</readbufferfactor>
|
|
||||||
</network>
|
|
||||||
|
|
||||||
<pvr>
|
<pvr>
|
||||||
<minvideocachelevel>5</minvideocachelevel>
|
<minvideocachelevel>5</minvideocachelevel>
|
||||||
<minaudiocachelevel>20</minaudiocachelevel>
|
<minaudiocachelevel>20</minaudiocachelevel>
|
||||||
|
@ -13,9 +13,4 @@
|
|||||||
<samba>
|
<samba>
|
||||||
<clienttimeout>30</clienttimeout>
|
<clienttimeout>30</clienttimeout>
|
||||||
</samba>
|
</samba>
|
||||||
|
|
||||||
<network>
|
|
||||||
<readbufferfactor>4.0</readbufferfactor>
|
|
||||||
</network>
|
|
||||||
|
|
||||||
</advancedsettings>
|
</advancedsettings>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user