Kodi: Difference between revisions

From Bitpost wiki
No edit summary
Line 15: Line 15:
See the flatpak config files here:
See the flatpak config files here:
  ~/.var/app/tv.kodi.Kodi/data
  ~/.var/app/tv.kodi.Kodi/data
It should start up using this, on cast:
~/scripts/ubuntu/cast/start_my_apps.sh
That runs
/usr/bin/flatpak run tv.kodi.Kodi
Not sure that is working yet tbh...


=== Install ===
=== Install ===

Revision as of 01:42, 16 November 2025

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

See the flatpak config files here:

~/.var/app/tv.kodi.Kodi/data

It should start up using this, on cast:

~/scripts/ubuntu/cast/start_my_apps.sh

That runs

/usr/bin/flatpak run tv.kodi.Kodi

Not sure that is working yet tbh...

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)