some debugging tests
This commit is contained in:
parent
ca4883916f
commit
49f9f9b351
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
vars="/home/pi/birdcam/vars"
|
||||
vars="vars"
|
||||
#vars="/home/pi/birdcam/vars"
|
||||
|
||||
player="$(cat $vars | grep playercmd | cut -d'=' -f2)"
|
||||
player_path="$(command -v $player)"
|
||||
|
@ -54,7 +55,8 @@ fi
|
|||
streamurl="rtsp://$1:554/user=admin&password=&channel=1&stream=0.sdp?real_stream"
|
||||
|
||||
if [ "$1" = "birdcam1" ]; then
|
||||
$player_path $playerparam "$streamurl"
|
||||
echo $player_path $playerparam "$streamurl"
|
||||
sleep 60
|
||||
|
||||
elif [ "$1" = "birdcam2" ]; then
|
||||
$player_path $playerparam "$streamurl"
|
||||
|
|
Loading…
Reference in New Issue