Kodi: Difference between revisions

From Bitpost wiki
Line 13: Line 13:
=== Configure ===
=== Configure ===


==== Config files ====
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:
==== Startup ====
  ~/scripts/ubuntu/cast/start_my_apps.sh
It should start up using this, on case:
  ~/scripts/ubuntu/case/start_my_apps.sh


That runs
That runs
Line 23: Line 26:


Not sure that is working yet tbh...
Not sure that is working yet tbh...
==== Media ====
Apparently the fucking flatpak knows nothing of the root filesystem... ffs... do this, maybe:
sudo flatpak override tv.kodi.Kodi --filesystem=/


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

Revision as of 02:50, 17 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

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

Apparently the fucking flatpak knows nothing of the root filesystem... ffs... do this, maybe:

sudo flatpak override tv.kodi.Kodi --filesystem=/

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)