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 bf4a57e..6afcd9f 100644 --- a/rhimport/core.go +++ b/rhimport/core.go @@ -157,6 +157,7 @@ type Context struct { SourceUri string AttachmentChan chan AttachmentChunk FetchConverter string + ExtraMetaData map[string]string OrigFilename string Title string SourceFile string @@ -197,6 +198,7 @@ func NewContext(conf *Config, db *rddb.DB, stdlog, dbglog *log.Logger) *Context ctx.UseMetaData = conf.ImportParamDefaults.UseMetaData ctx.AttachmentChan = make(chan AttachmentChunk, 32) ctx.FetchConverter = "ffmpeg-bs1770" + ctx.ExtraMetaData = make(map[string]string) ctx.OrigFilename = "" ctx.Title = "" ctx.SourceFile = "" |