tribler.core.watch_folder.manager ================================= .. py:module:: tribler.core.watch_folder.manager Attributes ---------- .. autoapisummary:: tribler.core.watch_folder.manager.logger Classes ------- .. autoapisummary:: tribler.core.watch_folder.manager.WatchFolderManager Module Contents --------------- .. py:data:: logger .. py:class:: WatchFolderManager(session: tribler.core.session.Session, task_manager: ipv8.taskmanager.TaskManager) Watch the torrent files in a folder. Add torrents that are in this folder and remove torrents that are removed while we are watching. .. py:attribute:: session .. py:attribute:: task_manager .. py:method:: start() -> None Start the periodic processing of the watch folder. .. py:method:: check() -> bool Check the watch folder for new torrents and start downloading them. .. py:method:: process_torrent_file(path: pathlib.Path) -> None :async: Process an individual torrent file.