From bf47c1d615bc7126ace29c4de7cb87e1428ec368 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 15 Dec 2019 17:25:52 +0100 Subject: [PATCH] Updated How the bookmarks work (markdown) --- How-the-bookmarks-work.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/How-the-bookmarks-work.md b/How-the-bookmarks-work.md index b3b1d0f..5e74b51 100644 --- a/How-the-bookmarks-work.md +++ b/How-the-bookmarks-work.md @@ -28,4 +28,12 @@ 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` \ No newline at end of file +* 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. \ No newline at end of file