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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Packman mailing list
Packman@links2linux.de
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Antwort per Email an