Commit Graph

13 Commits

Author SHA1 Message Date
Rob Watson a8ba36a0e1 GetAudio: avoid leaking goroutine on cancellation
continuous-integration/drone/push Build is passing Details
2022-02-05 07:46:52 +01:00
Rob Watson 5a1ebb7c3a Send AudioFrames in gRPC message when available
continuous-integration/drone/push Build is passing Details
2022-01-25 20:06:19 +01:00
Rob Watson 5a4ee4e34f Add FFmpeg WorkerPool
continuous-integration/drone/push Build is passing Details
2022-01-05 19:49:47 +01:00
Rob Watson 12e6e73976 Remove extraenous line
continuous-integration/drone/push Build is passing Details
2022-01-03 18:54:03 +01:00
Rob Watson 66c65694ae Add test coverage for getAudioFromYoutube flow
continuous-integration/drone/push Build is passing Details
2022-01-03 18:44:19 +01:00
Rob Watson 176a1cd8c1 Revert "FileStore.PutObject: Accept io.ReadCloser"
This turned out to actually make testing more difficult, as the
FileStore objects are generally mocked themselves and moving the Close()
call inside them introduced IO problems in the test suite.

This reverts commit a063f85eca.
2022-01-03 13:32:39 +01:00
Rob Watson a063f85eca FileStore.PutObject: Accept io.ReadCloser
continuous-integration/drone/push Build is passing Details
Accepting a ReadCloser in place of a Reader allows the FileSystem
implementation to handle closing the reader, which in turn simplifies
downstream code.
2022-01-03 09:57:49 +01:00
Rob Watson 2445ebc02f Rename gRPC endpoints and service methods.
- GetAudio > GetPeaks
- GetAudioSegment > GetPeaksForSegment
2021-12-17 17:30:53 +01:00
Rob Watson c8de6643e8 Remove S3 bucket columns from media_sets table
continuous-integration/drone/push Build is passing Details
Re: #5
2021-12-13 04:29:02 +01:00
Rob Watson f2d7af0860 Extract S3 code to S3FileStore
Re: #5
2021-12-07 20:58:11 +01:00
Rob Watson 1552fc19a1 Send presigned encoded audio URL to the frontend 2021-11-29 15:55:11 +01:00
Rob Watson be42d452d6 Update database with encoded audio metadata 2021-11-29 14:59:05 +01:00
Rob Watson c3da27ca49 Refactor audio fetching logic 2021-11-29 12:46:33 +01:00