mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-05 02:36:45 +00:00
Fixed a small mistake
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user