Pulsecontrol

From NURDspace

Jump to: navigation, search
Melan
NoPicture.png
Participants
Skills python
Status Active
Niche Documentation
Purpose Use in other project
Tool No
Location SlabPi
Cost
Tool category

Melan

"File:{{{Picture}}}" cannot be used as a page name in this wiki.

{{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

What

A small program running on SlabPI, it checks if a given host has it's sink active in pulseaudio, if not it will attempt to automatically load the module for the given client, if pinging is successful.


Where

It runs in /home/pi/pulseControl and as a systemd service called pulsecontrol

Usage

Start by adding the host to /etc/pulse/system.pa like so load-module module-tunnel-sink server=slabbar.dhcp.nurd.space sink_name=slabbar"

Change the server and sink_name, finally add the sink_name to the end of the module-combine-sink list.

Now you can continue to add your host to the config.yml in /home/pi/pulseControl take a look at the slabbar configuration to see what to do.

Finally, restart pulseaudio and pulsecontrol.

 
Our site is hosted by Site4U
Site4U
Our connectivity is made available by BIT
To BIT's website