Watch folder - #1154
Conversation
Added chokidar to watch for folder changes; added folder-watcher; passing state to delayedInit on main; added default values for new preferences; added “Auto add torrents” preference with its checkbox and path selector; TODO: start/stop watching on preference change, start watching on init, add dialog when trying to enable preference without a torrents folder.
|
I really like this idea! I think the wording on the the preferences could be phrased better as its not totally clear to me (and it doesn't mention "watching" at all) Maybe: Also, as this feature feels a little beyond the "keep things simple" user experience of this app, so it may be best to have this turned off by default. (EDIT: as I see in the code, already is off by default 😊) |
|
Hey @Flet, thanks a lot for your feedback! Maybe we can rename Downloads to Folders and add it under that section. Cheers! |
Renamed “Downloads” section to “Folders”; watch folder preference moved under “Folders”; updated texts for watch folder preference.
|
Hey @Flet, can you provide a review to move this one forward? |

In response to #1149, this feature adds a preference to watch a folder for new
.torrentfiles.When a torrent file is saved on the watched folder it is automatically added to WebTorrent Desktop.
The feature can be enabled / disabled from preferences.