Commit Graph

3672 Commits

Author SHA1 Message Date
Saxon 84e32b0110 revid: give ring buffer write timeout in TestMtsSenderFailedSend 2020-03-27 23:38:03 +10:30
Saxon Milton 0fa50d1a46 Merged in improve-logging (pull request #389)
Improve debug and info logging quality and frequency

* cmd/rv: added some more debug and info logging

* revid: improving logging in revid.go

* revid: improved logging in senders.go

* revid: don't need to set log level as netsender does it

* added some extract log messages

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-27 12:20:51 +00:00
Saxon Milton fc3c89231d Merged in update-init-rclocal (pull request #388)
init: updated rc.local and Makefile to reflect change of revid-cli to rv

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-23 10:22:12 +00:00
Saxon Milton 19cbcfb08a Merged in audio-looper-netsender (pull request #386)
* cmd/audio-player/looper: integrating netsender client in to audio-looper to allow for sending of logs to cloud

* cmd/audio-player/looper: added netsender.conf file for copying when making

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-09 04:46:17 +00:00
Scott Barnard 3b0d004934 Merged in looper-combined (pull request #385)
Audio looper for pi - v2

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-03-06 07:34:07 +00:00
Saxon 94a7c0cb5a cmd/audio-player/looper: don't need to deal with stdout to file anymore in rc.local now that we're using the lumberjack logger 2020-03-06 18:00:18 +10:30
Saxon 0d761deed3 cmd/audio-player/looper: fixed indentation of file headers 2020-03-06 17:55:13 +10:30
Saxon bb22272804 cmd/audio-player/looper: general clean up of main file
No longer doing multiwriter that stdout and stderr to stdout and stderr again and buffs. Now only buffs so that we can log anything in stdout or stderr.
2020-03-06 17:50:21 +10:30
Saxon 170a18830e cmd/audio-player/looper: updated package level comment 2020-03-06 16:11:27 +10:30
Saxon adbbd4d458 cmd/audio-player/looper: wrote wrapper for lookPath calls to simplify code 2020-03-06 16:10:01 +10:30
Saxon d0646f73bc cmd/audio-player/looper: general clean up of pi0.go 2020-03-06 15:53:11 +10:30
Saxon a8dc1f78df cmd/audio-player/looper: added missing file headers 2020-03-06 15:26:35 +10:30
Saxon e97745c0df cmd/audio-player/looper: cleaned up README.md file 2020-03-06 14:27:22 +10:30
Ella Pietraroia 6968b973bd looper: rc.local adding path, main.go letting finish the play to find stderr before fatal 2020-03-02 18:32:28 +10:30
Ella Pietraroia 4690209fd5 audio-player: error checking 2020-03-02 12:33:01 +10:30
Scott Barnard d996635232 Merged in meta-more-unit-tests (pull request #381)
add unit tests for NewFromMap and EncodeAsString methods

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-29 05:29:54 +00:00
Scott Barnard 1901e4271e Merged in godoc (pull request #383)
Fix package level comments

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-29 05:05:55 +00:00
Scott c5fb58e70c cmd/audio-player/looper: use a command line flag for choosing audio file path 2020-02-28 16:28:02 +10:30
Scott 8cbc7e700c makefile and rc.local fix 2020-02-28 16:06:46 +10:30
Scott 0399051e0e cmd/audio-player/looper: added make file 2020-02-28 15:55:30 +10:30
Scott 17c7ef857e cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30
Scott 89691e9689 cmd/audio-player/looper: make minor formatting changes 2020-02-28 13:57:58 +10:30
Scott fe983b123c cmd/audio-player/looper: build successfully on circleci 2020-02-28 13:39:04 +10:30
Scott 081efe24d7 cmd/audio-player/looper: created combined audio looper for pi 0 and pi 3 2020-02-28 13:25:07 +10:30
Scott 27082b2070 cmd/audio-player: PR fixes 2020-02-28 11:58:12 +10:30
Ella Pietraroia 5e576c3906 audio-player: spelling 2020-02-28 10:01:24 +10:30
Ella Pietraroia b041ae43c5 audio-player: changing files to be README.md for better viewing 2020-02-28 09:59:32 +10:30
Ella Pietraroia a5410511fa looper0: fixing build error 2020-02-28 09:25:52 +10:30
Ella Pietraroia db773444d3 looper: commenting 2020-02-27 14:29:45 +10:30
Ella Pietraroia 9faa1940a8 splitting into different main.go files for pi0 and pi3 2020-02-27 09:35:58 +10:30
Ella Pietraroia 53f4de6d5b looper: looper verisons for pi3 and for pi0 2020-02-26 16:05:03 +10:30
Scott 8f589c8cff revid/config: add package comments to config package 2020-02-26 14:32:08 +10:30
Scott 17cd602b7c exp/flac: add package comments to flac package 2020-02-26 14:32:08 +10:30
Scott ac21b7d808 codec: add package comments to codec packages 2020-02-26 14:32:08 +10:30
Scott 48a3aea7f4 container: add package comments to flv, pes, meta and psi packages 2020-02-26 14:32:08 +10:30
Scott 6e1ccf6bda device: add package comments to file, raspivid, geovision and webcam packages 2020-02-26 14:30:42 +10:30
Ella Pietraroia 39dcf84e39 moved comments to README 2020-02-26 13:40:35 +10:30
Ella Pietraroia a1c856e567 adding conts and comments 2020-02-26 12:30:34 +10:30
Scott Barnard cd3351543c Merged in meta-delete-fix (pull request #382)
container/mts/meta: make Delete method correctly update order field

Approved-by: Ella Pietraroia <ella@ausocean.org>
2020-02-26 00:33:23 +00:00
Scott 7ae9f265e0 add TestDeleteOrder to check that the order of keys is correct after deletion 2020-02-26 10:57:48 +10:30
Scott 9a9dba0cd2 add unit tests for NewFromMap and EncodeAsString methods 2020-02-26 10:57:48 +10:30
Scott 813c1d38e7 container/mts/meta: make Delete method correctly update order field 2020-02-26 10:53:22 +10:30
Ella Pietraroia 5edb9a08e6 will loop audio on pi at boot until power off 2020-02-25 17:16:16 +10:30
Scott Barnard a78dd9e4b2 Merged in meta-from-map (pull request #380)
Meta from map

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-19 04:22:27 +00:00
Scott cca292ea17 mts/meta: created EncodeAsString and GetAllFromString methods 2020-02-19 13:10:05 +10:30
Scott 6855244424 mts/meta: created NewFromMap method 2020-02-19 12:57:25 +10:30
Scott Barnard 24a4654f6b Merged in time-filter (pull request #379)
filter: time based motion filter

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-17 00:04:13 +00:00
Scott 57b3f53bf3 filter: time based filter for overcoming discontinuities
When the filter has short discontinuities in detection, those frames are sent so that the video is more continuous.
2020-02-17 09:41:07 +10:30
Saxon Milton e312bca992 Merged in validate-before-set (pull request #378)
revid/config/parameter: validate set val passed and then only if good we set receiver

Approved-by: kortschak <dan@kortschak.io>
2020-02-16 22:25:43 +00:00
Saxon Milton 81aa35b586 Merged in parameter-implementations (pull request #376)
revid/config/parameter: wrote code for the generation of Parameter interface implementations and commit resulting code

Using a template, code has been created to generate repetitive implementations of an interface name Parameter. The code iterates through a list of params and creates implementations for each one.

Approved-by: Scott Barnard <scott@ausocean.org>
2020-02-12 00:27:08 +00:00