rtinst icon indicating copy to clipboard operation
rtinst copied to clipboard

Unable to add Other Watch Directory.

Open Merlincool opened this issue 2 years ago • 1 comments

I am unable to add other watch directory.

I have watch2 in ~/rtorrent/watch2

schedule = watch_directory_2,5,5,((load.start,(cat,(cfg.watch),"watch2/,"*.torrent")))

This fails.

Merlincool avatar Oct 01 '21 05:10 Merlincool

Try this instead. You should have a method.insert for cfg.basedir already setup.

method.insert = cfg.watch,       private|const|string, (cat,(cfg.basedir),"watch/")
method.insert = cfg.watch2,       private|const|string, (cat,(cfg.basedir),"watch2/")

directory.watch.added = (cat,(cfg.watch)), load.start
directory.watch.added = (cat,(cfg.watch2)), load.start

stickz avatar Nov 07 '21 15:11 stickz