Page 1 of 1

zmc: invalid option -r

Posted: Tue Jan 12, 2016 7:12 pm
by jscmenezes
Hi,

I am getting this error using zmc:

Code: Select all

$ zmc -r http -H my.ip.address -P 80 -p /cgi-bin/video.jpg
zmc: invalid option -- 'r'
zmc -d <device_path> or -r <proto> -H <host> -P <port> -p <path> or -f <file_path> or -m <monitor_id>
Options:
  -d, --device <device_path>               : For local cameras, device to access. E.g /dev/video0 etc
  -r <proto> -H <host> -P <port> -p <path> : For remote cameras
  -f, --file <file_path>                   : For local images, jpg file to access.
  -m, --monitor <monitor_id>               : For sources associated with a single monitor
  -h, --help                               : This screen
  -v, --version                            : Report the installed version of ZoneMinder
The option has been removed?

Re: zmc: invalid option -r

Posted: Wed Jan 13, 2016 7:33 am
by Nerre
My first guess would be that you may be using a build without support for remote cameras. But why there would be such a build I can not figure out.

Re: zmc: invalid option -r

Posted: Wed Jan 13, 2016 11:24 am
by SteveGilvarry
No looks more like option was never implemented correctly, just -r <proto> nothing happens with it, but the rest are there. zmc -m x is how zm runs them using the db to hold all the required information, some functionality like this while still there doesn't appear to be used or maintained by anyone. I assume you are trying to work on that dlink auth issue you are having.

Re: zmc: invalid option -r

Posted: Wed Jan 13, 2016 4:06 pm
by jscmenezes
Thanks for the explanation, Steve!

Yes, I am trying to work on the dlink auth issue.