diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-06-30 11:46:23 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-06-30 11:46:23 (GMT) |
commit | 8134f3159f30da5560a3d515f4da834eb06bf8dc (patch) | |
tree | 46216db45fb143be9a73339da97191ce2219ce34 /rhimport/core.go | |
parent | 471c9224bd1952671179263ebce8a15656d474d1 (diff) |
make fetch converter configurable
Diffstat (limited to 'rhimport/core.go')
-rw-r--r-- | rhimport/core.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rhimport/core.go b/rhimport/core.go index 6a495a4..413e39c 100644 --- a/rhimport/core.go +++ b/rhimport/core.go @@ -123,6 +123,7 @@ type Context struct { UseMetaData bool SourceUri string AttachmentChan <-chan []byte + FetchConverter string SourceFile string DeleteSourceFile bool DeleteSourceDir bool @@ -150,6 +151,7 @@ func NewContext(conf *Config, db *rddb.DBChan) *Context { ctx.AutotrimLevel = conf.ImportParamDefaults.AutotrimLevel ctx.UseMetaData = conf.ImportParamDefaults.UseMetaData ctx.AttachmentChan = nil + ctx.FetchConverter = "ffmpeg" ctx.SourceFile = "" ctx.DeleteSourceFile = false ctx.DeleteSourceDir = false |