« Osmc et casque audio bluetooth (draft) » : différence entre les versions

De Linux Server Wiki
Aller à la navigation Aller à la recherche
(Page créée avec « <pre>apt-get install alsa-utils bluez bluez-tools pulseaudio-module-bluetooth python-gobject python-gobject-2</pre> Puis utilisez le programme "osmc settings", parti netw... »)
 
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
Puis utilisez le programme "osmc settings", parti network, bluetooth
Puis utilisez le programme "osmc settings", parti network, bluetooth
Works ?
Works ?
<pre>export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket</pre>
/etc/dbus-1/system.d/pulseaudio-system.conf:
<pre>
  <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>
</pre>

Version du 19 juillet 2015 à 13:06

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 ?

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>