Kodi: Difference between revisions
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
KODI IS LIFE | KODI IS LIFE | ||
=== Ensure no tearing === | === Addons === | ||
=== Tricks and Tips === | |||
==== Ensure no tearing ==== | |||
* Get nvidia-settings working right | * Get nvidia-settings working right | ||
| Line 7: | Line 11: | ||
** TO KILL TEARING YOU MUST FORCE FULL COMPOSITION, it should be a setting under Screen > Advanced | ** 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 --audio-backend=pulseaudio | |||
Not sure that is working yet tbh... | |||
==== Audio ==== | |||
Flatpak kodi and root system audio are currently fubar. Out-of-the-box will BREAK YOUR EARS, or worse, remain silent. To fix it, hardcode pulseaudio with this option: | |||
--audio-backend=pulseaudio | |||
==== 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: | * First you must remove any old install: | ||
sudo apt remove --autoremove kodi | sudo apt remove --autoremove kodi | ||
| Line 21: | Line 74: | ||
sudo apt install kodi | sudo apt install kodi | ||
Upgrade | |||
sudo apt update && sudo apt upgrade # as usual, once you have added the ppa (see Install) | sudo apt update && sudo apt upgrade # as usual, once you have added the ppa (see Install) | ||
Latest revision as of 15:16, 18 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 --audio-backend=pulseaudio
Not sure that is working yet tbh...
Audio
Flatpak kodi and root system audio are currently fubar. Out-of-the-box will BREAK YOUR EARS, or worse, remain silent. To fix it, hardcode pulseaudio with this option:
--audio-backend=pulseaudio
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)