Pulsecontrol
| Melan | |
|---|---|
| Participants | |
| Skills | python |
| Status | Active |
| Niche | Documentation |
| Purpose | Use in other project |
| Tool | No |
| Location | SlabPi |
| Cost | |
| Tool category | |
Melan Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{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.