diff options
| author | gabek <gabek@noreply@mills.io> | 2022-08-25 23:15:27 +0000 |
|---|---|---|
| committer | James Mills <james@mills.io> | 2022-08-25 23:15:27 +0000 |
| commit | ed8964ee7a606cf0e8ca5d6ffcf695f0eb9854c8 (patch) | |
| tree | 6df4f02608ba14f2f37cadede1c67fbd3ae6b0f8 /app/config.go | |
| parent | 31040303f7c20939ff1009836e90f7586fc8b118 (diff) | |
Supply the seconds position where a thumbnail is generated (#22)
Reviewed-on: https://git.mills.io/prologic/tube/pulls/22
Co-authored-by: gabek <gabek@noreply@mills.io>
Co-committed-by: gabek <gabek@noreply@mills.io>
Diffstat (limited to 'app/config.go')
| -rw-r--r-- | app/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/config.go b/app/config.go index e06fde0..2b11688 100644 --- a/app/config.go +++ b/app/config.go @@ -32,7 +32,8 @@ type ServerConfig struct { // ThumbnailerConfig settings for Transcoder type ThumbnailerConfig struct { - Timeout int `json:"timeout"` + Timeout int `json:"timeout"` + PositionFromStart int `json:"position_from_start"` } // Sizes a map of ffmpeg -s option to suffix. e.g: hd720 -> #720p |
