Kodi
KODI IS LIFE
Addons
Tricks and Tips
Ensure no tearing
- Get nvidia-settings working right
- Ensure 4k, 60 fps
- TO KILL TEARING YOU MUST FORCE FULL COMPOSITION, it should be a setting under Screen > Advanced
Configure
Config files
See the flatpak config files here:
~/.var/app/tv.kodi.Kodi/data
Startup
It should start up using this, on case:
~/scripts/ubuntu/case/start_my_apps.sh
That runs
/usr/bin/flatpak run tv.kodi.Kodi
Not sure that is working yet tbh...
Media
Fucking flatpak knows nothing of the root filesystem. Do this to grant it:
sudo flatpak override --filesystem=host tv.kodi.Kodi
If you want to fiddle with giving it less access, you can maybe try something like this but you may have to diddle the whole damned library...
sudo flatpak override --reset tv.kodi.Kodi sudo flatpak override --filesystem=/spiceflow/media tv.kodi.Kodi
Install
Kodi has sadly chosen to go flatpak.
sudo apt purge kodi\* cd development/config/ubuntu/case/etc/apt/sources.list.d/ git rm -f team-xbmc-ubuntu-ppa-noble.sources sudo apt install flatpak sudo apt install gnome-software-plugin-flatpak flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo flatpak install flathub tv.kodi.Kodi
Migration from apt to flatpak
Copy config from apt to flatpak:
cd ~/.var/app/tv.kodi/Kodi mv data data-orig cp -rp ~/.kodi directory to ~/.var/app/tv.kodi.Kodi mv .kodi data # NOT ~/.var/app/tv.kodi.Kodi/data/.kodi # YES ~/.var/app/tv.kodi.Kodi/data/userdata # NOT ~/var/app/tv.kodi.Kodi/data/.kodi/userdata
HISTORY deprecated
install
- First you must remove any old install:
sudo apt remove --autoremove kodi sudo apt autoremove
- Add official kodi ppa:
sudo add-apt-repository ppa:team-xbmc/ppa
- Install:
sudo apt install kodi
Upgrade
sudo apt update && sudo apt upgrade # as usual, once you have added the ppa (see Install)