Skip to content

Commit 89c1152

Browse files
committed
kodi: fix installation on Ubuntu 22.04 and later
The Kodi PPA for Jammy (22.04) and later doesn't include `kodi-inputstream-rtmp` anymore. Trying to install the version from the Ubuntu repositories will produce a conflict due to mismatched dependencies with the versions from the PPA, so don't try to install the package. NOTE: the addon can be later installed from inside Kodi, which is also recommended in its installation page: https://kodi.tv/addons/matrix/inputstream.rtmp
1 parent dfe0367 commit 89c1152

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scriptmodules/ports/kodi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ function install_bin_kodi() {
5757

5858
# not all the kodi packages may be available depending on repository
5959
# so we will check and install what's available
60-
local all_pkgs=(kodi kodi-peripheral-joystick kodi-inputstream-adaptive kodi-inputstream-rtmp kodi-vfs-libarchive kodi-vfs-sftp kodi-vfs-nfs)
60+
local all_pkgs=(kodi kodi-peripheral-joystick kodi-inputstream-adaptive kodi-vfs-libarchive kodi-vfs-sftp kodi-vfs-nfs)
61+
compareVersions "$__os_ubuntu_ver" lt 22.04 && all_pkgs+=(kodi-inputstream-rtmp)
6162
local avail_pkgs=()
6263
local pkg
6364
for pkg in "${all_pkgs[@]}"; do

0 commit comments

Comments
 (0)