diff options
Diffstat (limited to 'app/config.go')
| -rw-r--r-- | app/config.go | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/app/config.go b/app/config.go index 097297d..01a2af8 100644 --- a/app/config.go +++ b/app/config.go @@ -7,10 +7,11 @@ import ( // Config settings for main App. type Config struct { - Library []*PathConfig `json:"library"` - Server *ServerConfig `json:"server"` - Transcoder *TranscoderConfig `json:"transcoder"` - Feed *FeedConfig `json:"feed"` + Library []*PathConfig `json:"library"` + Server *ServerConfig `json:"server"` + Thumbnailer *ThumbnailerConfig `json:"thumbnailer"` + Transcoder *TranscoderConfig `json:"transcoder"` + Feed *FeedConfig `json:"feed"` } // PathConfig settings for media library path. @@ -27,6 +28,11 @@ type ServerConfig struct { UploadPath string `json:"upload_path"` } +// ThumbnailerConfig settings for Transcoder +type ThumbnailerConfig struct { + Timeout int `json:"timeout"` +} + // TranscoderConfig settings for Transcoder type TranscoderConfig struct { Timeout int `json:"timeout"` |
