Commit Graph

6 Commits

Author SHA1 Message Date
Rob Watson 35b62f1e59 Fetch title, description and author from Youtube
continuous-integration/drone/push Build is passing Details
2022-01-13 20:05:09 +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 f2d7af0860 Extract S3 code to S3FileStore
Re: #5
2021-12-07 20:58:11 +01:00
Rob Watson 6d8b1beba7 Add test coverage for MediaService.GetAudioSegment 2021-12-05 20:05:58 +01:00
Rob Watson b3bc63621a Add types.go, small refactor and tidy 2021-11-29 16:06:43 +01:00