diff options
Diffstat (limited to 'src/pool-import')
-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) |