mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
kodi: Clean Kodi view cache on startup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
772ef6da13
commit
0dadc2ff1b
@ -42,6 +42,13 @@ if [ ! -f $HOME/.kodi/userdata/guisettings.xml ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# cleanup *.fi cache files from .kodi/temp as old version
|
||||
# of these files can cause random problems/crashes, particularly
|
||||
# after an upgrade
|
||||
if [ -d $HOME/.kodi/temp ]; then
|
||||
rm -f $HOME/.kodi/temp/*.fi
|
||||
fi
|
||||
|
||||
if [ -e /run/lirc/lircd.irtrans ]; then
|
||||
KODI_ARGS="--lircdev /run/lirc/lircd.irtrans"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user