Override only font setting of a skin
#1
Hello,

please is there a way to only override a simple element (font size of RSS ticker) of a skin? CoreELEC only provides read-only access to skin files hence direct editing is not possible. Making a modified full clone of a currently used skin is probably an option but I am checking if more lightweight solution exists.

Thank you.

jose
Reply
#2
Finally I have solved this using symlinks:
Code:
newname=skin.estuary.modified
new=~/.kodi/addons/${newname}
mkdir "${new}"
cd /usr/share/kodi/addons/skin.estuary/
# recreate directory structure
find . -type d | while read -r i; do mkdir "${new}/$i"; done
# create symlinks
find . -type f | while read -r i; do ln -s /usr/share/kodi/addons/skin.estuary/$i "${new}/$i"; done
cd "${new}"
sed '/addon id/{s/estuary/estuary.modified/;s/Estuary/Estuary modified/}' addon.xml >addon.xml.new
rm addon.xml
mv addon.xml.new addon.xml
# copy user settings
mkdir ~/.kodi/userdata/addon_data/${newname}
cp -r ~/.kodi/userdata/addon_data/skin.estuary/. ~/.kodi/userdata/addon_data/${newname}
# replace desired symlinks with new files (e. g. xml/Home.xml)
# restart Kodi
# enable addon manually and set as new skin
Reply

Logout Mark Read Team Forum Stats Members Help
Override only font setting of a skin0
This forum uses Lukasz Tkacz MyBB addons.