diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-08-04 17:10:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-08-04 17:10:07 (GMT) |
commit | cb828ee5f54f20651a18bafc3fbff5458b755b4b (patch) | |
tree | 620677bbef33dcd88cbac0ff62433a603e2d9fad | |
parent | 8ec032e992e517f453161c92ce927bf2927cae9c (diff) |
make use of new session based file cleanup
-rw-r--r-- | src/pool-import/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pool-import/main.go b/src/pool-import/main.go index 36300bf..7de3b55 100644 --- a/src/pool-import/main.go +++ b/src/pool-import/main.go @@ -57,7 +57,6 @@ func HandleCart(cart uint, cut uint, artist, album, title, dstgroup string, sess ctx.Trusted = true ctx.GroupName = dstgroup ctx.SourceUri = "local:///" + filename - ctx.SourceFilePolicy = rhimport.Keep ctx.FetchConverter = "ffmpeg-bs1770" ctx.ExtraMetaData["ARTIST"] = artist ctx.ExtraMetaData["ALBUM"] = album @@ -106,7 +105,7 @@ func main() { oldGroup := os.Args[1] newGroup := os.Args[2] - conf, err := rhimport.NewConfig(NEW_RD_CONF, "http://localhost/rd-bin/rdxport.cgi", "tmp/", "snd/") + conf, err := rhimport.NewConfig(NEW_RD_CONF, "http://localhost/rd-bin/rdxport.cgi", "/tmp/", "snd/") if err != nil { log.Fatal("Error parsing configuration file:", err) } |