Allow setting remarkable with environment variable
This commit is contained in:
parent
9deee838c9
commit
3862d9c5c8
@ -11,6 +11,7 @@
|
|||||||
cargo-watch
|
cargo-watch
|
||||||
cargo-limit
|
cargo-limit
|
||||||
shellcheck
|
shellcheck
|
||||||
|
shfmt
|
||||||
lz4
|
lz4
|
||||||
];
|
];
|
||||||
CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf";
|
CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf";
|
||||||
|
20
reStream.sh
20
reStream.sh
@ -4,16 +4,16 @@
|
|||||||
version="1.2.0"
|
version="1.2.0"
|
||||||
|
|
||||||
# default values for arguments
|
# default values for arguments
|
||||||
remarkable="10.11.99.1" # remarkable connected through USB
|
remarkable="${REMARKABLE_IP:-10.11.99.1}" # remarkable IP address
|
||||||
landscape=true # rotate 90 degrees to the right
|
landscape=true # rotate 90 degrees to the right
|
||||||
output_path=- # display output through ffplay
|
output_path=- # display output through ffplay
|
||||||
format=- # automatic output format
|
format=- # automatic output format
|
||||||
webcam=false # not to a webcam
|
webcam=false # not to a webcam
|
||||||
hflip=false # horizontal flip webcam
|
hflip=false # horizontal flip webcam
|
||||||
measure_throughput=false # measure how fast data is being transferred
|
measure_throughput=false # measure how fast data is being transferred
|
||||||
window_title=reStream # stream window title is reStream
|
window_title=reStream # stream window title is reStream
|
||||||
video_filters="" # list of ffmpeg filters to apply
|
video_filters="" # list of ffmpeg filters to apply
|
||||||
unsecure_connection=false # Establish a unsecure connection that is faster
|
unsecure_connection=false # Establish a unsecure connection that is faster
|
||||||
|
|
||||||
# loop through arguments and process them
|
# loop through arguments and process them
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user