Closed ozett closed 6 years ago
why do i need the dashes in the config-file? python or something? seems strange to me
1) v1.0 and v2.0 config options are not compatible see release notes. You either use one or the other. Major version upgrades may introduces breaking changes. Minor version updates should be backwards compatible
If you want to install 2.0 follow the steps on the README of 2.0. README 2.0
2) the config file file is a yaml file ( http://yaml.org/spec/1.2/spec.html ). This is a compromise between human/machine readable and is quite common used nowadays. This file can be edited with any text editor. As described on top of the example config file -> keep indentations and do not use tabs in the file. Example config show all available options and if they are optional or not. You can remove all optional options. Note however that you need to remove the examples as well as those are not real streams and so rpisurv will fail to start.
I created an example with a very minimal config for you (replace the examples with your config!). If you do not need to optional config it probably works with this option. Example one screen (so no rotation) and 4 example! streams for 2.0
as i cloned the repository today, the default config in /etc/rpisruv has option like: https://raw.githubusercontent.com/SvenVD/rpisurv/master/surveillance/conf/surveillance.yml
- rtsp_url: "path"
if i follow the github link i land on v20 https://raw.githubusercontent.com/SvenVD/rpisurv/v2.0_branch/surveillance/conf/surveillance.yml the options has changed now to:
- url: "path"
i see there is versioning, but how can i change versions. if i check it out like told on the doks, i always have the same version, or wrong config?
2nd) how to edit config? identation? colons? what to delete, what not? seems difficult.... some hints?