diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-08-03 21:59:56 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-08-03 21:59:56 (GMT) |
commit | b9be20bf86684a2aedc654588ef2767923b00b4c (patch) | |
tree | ef1553f9c8e5d20744d79336db1f6172d1c00b11 /src | |
parent | cf13adfafa6c0fea9e5d4c99092e7e42c9eafa7c (diff) |
force ffmpeg-bs1770 converter, fixed log output
Diffstat (limited to 'src')
-rw-r--r-- | src/pool-import/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pool-import/main.go b/src/pool-import/main.go index ccd3b8f..4670815 100644 --- a/src/pool-import/main.go +++ b/src/pool-import/main.go @@ -56,6 +56,7 @@ func HandleCart(cart uint, cut uint, artist, album, title, dstgroup string, sess ctx.GroupName = dstgroup ctx.SourceUri = "local:///" + filename ctx.SourceFilePolicy = rhimport.Keep + ctx.FetchConverter = "ffmpeg-bs1770" ctx.ExtraMetaData["ARTIST"] = artist ctx.ExtraMetaData["ALBUM"] = album ctx.ExtraMetaData["TITLE"] = title @@ -76,7 +77,7 @@ func HandleCart(cart uint, cut uint, artist, album, title, dstgroup string, sess res := <-donechan if res.ResponseCode != http.StatusOK { - stdlog.Printf(">>>>>>> ERROR: adding done handler: %s", res.ErrorString) + stdlog.Printf(">>>>>>> ERROR: import failed: %s", res.ErrorString) return false } stdlog.Printf(">>>>>>> SUCCESS: imported into: cart/cut %d/%d", res.Cart, res.Cut) |