Minor cleanup
Some checks failed
Check / linting (push) Failing after 6s
Check / formatting (push) Failing after 6s
Check / build (push) Failing after 3m37s

This commit is contained in:
2025-01-26 10:33:13 -08:00
parent 17ef2a1abd
commit cef1cd7495
2 changed files with 3 additions and 18 deletions

View File

@ -95,18 +95,17 @@ set -e # stop if an error occurs
# shellcheck disable=SC2089
restream_rs="PATH=\"\$PATH:/opt/bin/:.\" restream"
listen_port=16789
ssh_cmd "$restream_rs --listen $listen_port" &
ssh_cmd "$restream_rs --port $listen_port --format mono" &
sleep 1 # give some time to restream.rs to start listening
receive_cmd="nc $remarkable $listen_port"
# TODO: return this from stdout
width=1872
height=1404
pixel_format="gray8"
pixel_format="monob"
# shellcheck disable=SC2086,SC2090
$receive_cmd |
pv |
(
"$output_cmd" \
-vcodec rawvideo \