From 40f5e4e11932669aeb0838612fea9bebd5c5182c Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 24 Aug 2021 11:49:10 +0000 Subject: [PATCH] Merge branch 'master' of github.com:Chizi123/Scripts --- pashare.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/pashare.sh b/pashare.sh index dc5bc70..96b29a8 100755 --- a/pashare.sh +++ b/pashare.sh @@ -1,4 +1,9 @@ #!/bin/sh + +# Stream pulseaudio to remote sources +# This can be used to stream audio to a phone assuming it has an appropriate app +# I got most of this code from StackOverflow + server_port=8000 ip_address=$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p') pulse_source=$(pactl list sources short | grep analog-stereo.monitor | awk '{print $2}') -- Gitblit v1.9.3