[packman] Kodi 21.0 Omega - Update against sound issues on Leap

Manfred Hollstein manfred.h at gmx.net
Mon Apr 29 13:59:33 CEST 2024


Hi there,

Kodi apparently has issues on Leap when both, PulseAudio and Pipewire,
are installed. The reason is that Leap does not install
pipewire-pulseaudio, leaving Kodi assuming it should use Pipewire as its
audio backend - unfortunately, this does not produce any sound at all :-(

We have therefore extended the /usr/bin/kodi script to detect, if the
installation is kind of broken:

  # Work around a possibly broken installation of pipewire on openSUSE Leap
  # see 'https://bugzilla.opensuse.org/show_bug.cgi?id=1222636'
  if [ -x ${prefix}/bin/pulseaudio ] &&
     [ -x ${prefix}/bin/pipewire ] &&
     [ ! -x ${prefix}/bin/pipewire-pulse ]; then
    ENV_ARGS="--audio-backend=pulseaudio"
  fi

This means that a default installation of Leap 15.5 or 15.6 will cause
kodi to add "--audio-backend=pulseaudio" by itself. Please note, you can
still override this by adding your own preference by adding one of the
following yourself:

    --audio-backend=<backend> Select which audio backend to use.
                          Available audio backends are: alsa, pipewire, pulseaudio, alsa+pulseaudio

This will take priority over an implicitly added option for pulseaudio.

Thanks to Sagi for reviewing this change!

HTH, cheers.

l8er
manfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20240429/106b86cd/attachment.sig>


More information about the Packman mailing list