paclient
paclient copied to clipboard
PulseAudio client written in pure JavaScript for node.js
I tried the example code and i find the client program always closing as soon as it start the app
At my system (5.2.3-arch1-1-ARCH, libpulse 12.2.0) `~/.config/pulse/cookie` contains binary data. So [here](https://github.com/mscdex/paclient/blob/master/lib/configuration.js#L230) we can get buffer directly: ``` if (hexStr.length === 256) { return Buffer.from(hexStr) } ```
I'm confused at the range error I'm getting when using `setSinkVolumes`. The index I used is `0` and my volumes are `[50]`.
I've now spend hour of hours and not able to solve an issue to connect to pulseaudio using "paclient" on an X64 unix machine (Linux cms 3.16.0-4-amd64 #1 SMP Debian...
After reboot paclient would connect without an issue, but if I killed pulseaudio (and let it restart), then paclient would not connect. I noticed `hex` encoding was used when working...
Fixes #3 There was an issue with `setSinkPort` where pulseaudio 12.2 would say `E: [pulseaudio] protocol-native.c: protocol error, kicking client` and kick the client.
Hi, I would love to use this module for my project, but there is one major feature I see missing. I'd like to build a node-red style (not actually in...
Do you have an example of how setSinkVolumes works ? When I try setSinkVolumes('alsa_output.pci-0000_01_00.1.hdmi-stereo', [14977, 14977], (error) => { }) the paclient is killed
When XDG_CONFIG_HOME is set, paclient checks the ${XDG_CONFIG_HOME}/cookie file for the cookie, however pulseaudio saves the cookie to ${XDG_CONFIG_HOME}/pulse/cookie