Updated How the bookmarks work (markdown)

Jakob Ketterl 2019-12-15 17:25:52 +01:00
parent 151476f2b2
commit bf47c1d615
1 changed files with 9 additions and 1 deletions

@ -29,3 +29,11 @@ If you are running OpenWebRX inside a docker container, the file will be kept in
* Directory mount: `-v /my/local/directory:/etc/openwebrx` - you will find the files in `/my/local/directory` after the first run. For consistency, you can use `-f /etc/openwebrx:/etc/openwebrx` - that way your files will be in `/etc/openwebrx` on the host and inside the container. You will probably need to create the local directory first.
* Volume mount: `-v openwebrx-config:/etc/openwebrx` - you can find out where the files are stored on your local filesystem by running `docker volume inspect openwebrx-config`, they are usually under `/var/lib/docker/volumes/openwebrx-config/_data`. You will probably need to create the volume beforehand: `docker volume create openwebrx-config`
## A note about editing the files
Please be very careful when editing the files. The json format is pretty sensitive to missing quotations, commas and other syntax errors. There is no partial parsing, so the if there's an error in any of the files, you will not have any bookmarks at all.
You can use online syntax validators like [JSONLint](https://jsonlint.com/) to validate the syntax.
Please do not recommend other file formats to the authors. This is an intermediate solution until a frontend to edit the information contained in these files has been built.