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