From a85be6c2b63318727d6bad891e1b27ec5103f29b Mon Sep 17 00:00:00 2001 From: visocicaguy Date: Sun, 9 Oct 2016 00:27:49 +0200 Subject: [PATCH] removed / at the end of PICTURE_URL --- controller/config/copy__init__.py.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/config/copy__init__.py.example b/controller/config/copy__init__.py.example index 7f7e16a..eb166f2 100644 --- a/controller/config/copy__init__.py.example +++ b/controller/config/copy__init__.py.example @@ -16,4 +16,4 @@ STATE_FILE = '/mnt/zoblakdata/controller_state' PICTURE_TRANSFER_FILE='/mnt/zoblakdata/picture_transfer_ready.jpg' PICTURE_INPUT_FILE='/mnt/zoblakdata/picture.jpg' # must match file in PICTURE_COMMAND PICTURE_COMMAND="""avconv -i rtsp://192.168.1.10:554//user=admin_password=_channel=1_stream=0.sdp -i /home/pi/projects/tfm/controller/zoblakLogo.png -filter_complex "[0:v]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:fontsize=30:box=1:boxcolor=black@0.75:text='%d\.%m\.%Y\. %H\:%M\:%S':fontcolor=white@0.8: x=10: y=10[text]; [text][1:v]overlay=main_w-overlay_w-5:5 [filtered]" -map "[filtered]" -f image2 -vframes 1 /mnt/zoblakdata/picture.jpg""" # filename must match PICTURE_INPUT_FILE path -PICTURE_URL = 'http://agrar.zoblak.com/api/v1.0/picture/' +PICTURE_URL = 'http://agrar.zoblak.com/api/v1.0/picture'