diff options
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 |