diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-07 16:42:13 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-07 16:42:13 (GMT) |
commit | bfe8b6de150b9da1959b763530c5490cc6e5426c (patch) | |
tree | 3b448bd093f64e48e848468cb4ceb783e50ad692 | |
parent | 25ef4599cae337a2ca7650878d601ec3530528b2 (diff) |
add DATE metadata on archiv fetcher
-rw-r--r-- | rhimport/fetcher.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go index 05c8725..670553f 100644 --- a/rhimport/fetcher.go +++ b/rhimport/fetcher.go @@ -296,6 +296,7 @@ func fetchFileArchiv(ctx *Context, res *Result, uri *url.URL) (err error) { cbdata.metadata["TITLE"] = fmt.Sprintf("Archiv vom %s - %s Uhr", start.Format("2.1.2006 15:04"), end.Format("15:04")) cbdata.metadata["ALBUM"] = "Radio Helsinki Archiv" cbdata.metadata["ORGANIZATION"] = "Radio Helsinki" + cbdata.metadata["DATE"] = start.Format("2.1.2006") rhdl.Printf("importing archiv file from %s", scpuri) err = easy.Perform() |