Fixed a small mistake

This commit is contained in:
zeko9381
2022-03-25 09:59:26 +01:00
committed by GitHub
parent c43c034d47
commit 73239aabef

View File

@@ -1,5 +1,5 @@
# gpx-to-rec.py
This script attempts to convert a `gpx` file into `rec` files to be used with `recorder`. I've only tested this script with gpx files with only one track and one segment from Phonetrack.
This script attempts to convert a `gpx` file into `rec` files to be used with `recorder`. I've only tested this script with gpx files with only one track and one segment from `Phonetrack`.
## Installation
`gpx-to-rec.py` depends on [`gpxpy`](https://github.com/tkrajina/gpxpy) which you can install with `pip`:
@@ -17,7 +17,7 @@ You can then copy those `.rec` files to `recorder`'s storage location for the co
Make sure to change `<username>` and `<device>` to your usecase.
After copying the files over, make sure that `recorder` has permissions to write to them:
```
sudo chown owntrack:owntracks /var/spool/owntracks/recorder/store/rec/<username>/<device>/*
sudo chown owntracks:owntracks /var/spool/owntracks/recorder/store/rec/<username>/<device>/*
```
Again, edit the command for your usecase. In my case, `recorder` uses a separate user named `owntracks`, which is why I needed to change the owner.