Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add Other Watch Directory. #583

Open
Merlincool opened this issue Oct 1, 2021 · 1 comment
Open

Unable to add Other Watch Directory. #583

Merlincool opened this issue Oct 1, 2021 · 1 comment

Comments

@Merlincool
Copy link

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.

@stickz
Copy link

stickz commented Nov 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants