mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 18:08:28 -07:00
Merge branch 'master' of https://github.com/zeko9381/recorder
This commit is contained in:
commit
5537767966
@ -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.
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user