Pulsecontrol: Difference between revisions

From NURDspace
(Created page with "{{Project |Name=Melan |Skills=python, |Status=Active |Niche=Documentation |Purpose=Use in other project |Tool=No |Location=SlabPi }} == What == A small program running on [...")
 
No edit summary
 
Line 2: Line 2:
|Name=Melan
|Name=Melan
|Skills=python,
|Skills=python,
|Status=Active
|Status=Dead
|Niche=Documentation
|Niche=Documentation
|Purpose=Use in other project
|Purpose=Use in other project
Line 8: Line 8:
|Location=SlabPi
|Location=SlabPi
}}
}}
'''DEPRECATED! '''
== What ==
== What ==



Latest revision as of 18:46, 1 November 2022

Melan
NoPicture.png
Participants
Skills python
Status Dead
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}}} | }}


DEPRECATED!

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.