View Single Post
Posts: 3 | Thanked: 2 times | Joined on Sep 2010
#29
i've found a better way to get to pulseaudio cli.

First edit /etc/pulse/system.pa

add a following line at the end:

load-module module-cli-protocol-unix socket=/tmp/pulsecli

and restart pulseaudio (or phone).
That will create /tmp/pulsecli linux socket

you can connect to it using socat:

socat stdin /tmp/pulsecli

and you have pulseaudio cli.



There is another way (less safe) where you can open a port and telnet to it. All you have to do is to uncomment last line in the file mentioned above.

That is less safe for obvious reason, that anyone on local network can connect to this port without authentication unless you specify some iptables rules.
 

The Following 2 Users Say Thank You to Bananusm For This Useful Post: