and move to completed.rss

master
Bel LaPointe 2018-11-17 12:17:01 -07:00
parent f1cfa36427
commit eaf9ee8a3a
1 changed files with 2 additions and 1 deletions

View File

@ -231,7 +231,8 @@ func (ex *Exchange) handlerTorrent(item *rss.Item) {
requestBody, err := json.Marshal(map[string]interface{}{ requestBody, err := json.Marshal(map[string]interface{}{
"method": "torrent-add", "method": "torrent-add",
"arguments": map[string]interface{}{ "arguments": map[string]interface{}{
"filename": match, "filename": match,
"download-dir": "/data/completed-rss",
}, },
}) })
if err != nil { if err != nil {