summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pool-import/main.go3
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)
}