Skip to main content
在 Manus 中运行任何 Skill
一键导入

videoreg-folder-watcher

星标4
分支0
更新时间2026年5月4日 12:51

videoreg FolderWatcher conventions — abstract class in sdk/folder_watcher.py for monitoring a directory via inotify-simple, subclasses implement async on_file_created(filename), blocking inotify.read runs in run_in_executor with a 500ms timeout and a threading.Event for clean shutdown, lifecycle wiring (watcher.start() in plugin.start(), await watcher.stop() in plugin.stop()), implementation example in plugins/org_vrg_camera/h264_watcher.py. Trigger when creating a new folder watcher, modifying an existing one (e.g. h264_watcher.py / jpeg_watcher.py), or wiring a watcher into a plugin's lifecycle.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly