From 1a7404a40b09d13cb33d830b55a2328ee3ba7b19 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 3 Nov 2022 20:11:17 +0100 Subject: [PATCH] more data, more quality --- 12345.sh | 3 +- start.sh | 2 +- templates/video_chain.html | 2 +- templates/video_first.html | 2 +- tools/new_file_in_astroport.sh | 7 ++-- tools/vlc_webcam.sh | 61 ++++++++++++++++++---------------- 6 files changed, 42 insertions(+), 35 deletions(-) diff --git a/12345.sh b/12345.sh index 39c85de0..d98ebe01 100755 --- a/12345.sh +++ b/12345.sh @@ -65,7 +65,8 @@ while true; do ## RANDOM PORT SWAPPINESS AVOIDING COLLISION ## CHECK 12345 PORT RUNNING (PUBLISHING IPNS SWARM MAP) - maprunning=$(ps auxf --sort=+utime | grep -w 'nc -l -p 12345' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) + maprunning=$(ps auxf --sort=+utime | grep -w '_12345.sh' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) + #maprunning=$(ps auxf --sort=+utime | grep -w 'nc -l -p 12345' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) [[ ! $maprunning ]] && ($MY_PATH/_12345.sh &) && echo '(ᵔ◡◡ᵔ) LAUNCHING http://'$myIP:'12345 (ᵔ◡◡ᵔ)' ############### IPNS SESSION KEY TRY LATER diff --git a/start.sh b/start.sh index 1cff9082..57d81f31 100755 --- a/start.sh +++ b/start.sh @@ -13,7 +13,7 @@ TS=$(date -u +%s%N | cut -b1-13) MOATS=$(date -u +"%Y%m%d%H%M%S%4N") ################################################### -killall 12345.sh; killall _12345.sh; killall nc; killall tail; mkdir -p ~/.zen/tmp +killall 12345.sh; killall "_12345.sh"; killall nc; killall tail; mkdir -p ~/.zen/tmp ~/.zen/Astroport.ONE/12345.sh > ~/.zen/tmp/12345.log & tail -f ~/.zen/tmp/12345.log & echo "1234 PORT SPIDER http://$myIP:1234" diff --git a/templates/video_chain.html b/templates/video_chain.html index 2a7557fd..7c6e58de 100644 --- a/templates/video_chain.html +++ b/templates/video_chain.html @@ -17,7 +17,7 @@
-