Osmc et casque audio bluetooth (draft)

De Linux Server Wiki
Aller à la navigation Aller à la recherche
apt-get install alsa-utils bluez bluez-tools pulseaudio-module-bluetooth python-gobject python-gobject-2

Puis utilisez le programme "osmc settings", parti network, bluetooth Works ?

/etc/pulse/default.pa load-module module-udev-detect tsched=0

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket

/etc/dbus-1/system.d/pulseaudio-system.conf:

  <policy user="osmc">
    <allow own="org.PulseAudio1"/>
    <allow send_destination="org.PulseAudio1"/>
    <allow receive_sender="org.PulseAudio1"/>
  </policy>
  <policy user="osmc">
    <allow own="org.pulseaudio.Server"/>
  </policy>
pactl set-default-sink 1
pactl suspend-sink 1 0
pactl list sinks