{"repo":"pulpul-s/watchertoucher","free":true,"listed":false,"github":"https://github.com/pulpul-s/watchertoucher","clone":"git clone https://github.com/pulpul-s/watchertoucher.git","description":"Python watchdog script that looks for new/remove/move filesystem events on cifs/nfs/others and sends a refresh request to Jellyfin API.","language":"Python","stars":21,"topics":["cifs","inotify","jellyfin","network-file-system","watchdog","nfs","monitoring","real-time","real-time-monitoring","library"],"license":null,"category":"analytics","readme_excerpt":"watchertoucher Python watchdog script that monitors filesystem events (create, delete, move) on network-mounted drives (CIFS, NFS, etc.) and triggers a library refresh on a Jellyfin server. By default, it schedules the refresh one minute into the future, avoiding API spam when multiple filesystem changes occur in a short time window. Requirements - Python 3.6+ - watchdog for filesystem monitoring - requests for jellyfin api calls Usage Change at least jellyfin url , api key and mediafolder parameters on the script. You should set the mediafolder variable as the parent folder that holds your media folders. Python Watchdog will monitor the folder recusively and react to changes made in it. Jellyfin API key can be created in Settings - Dashboard - API Keys run: Changelog watchertoucher 0.1.1: - Check if a library refresh is already running and re-schedule by delay seconds - Fix stdout output new lines - Better handling of errors watchertoucher 0.1.0: - Rewrite of the script logic to use Jellyfin API instead of fooling Linux inotify - Simplified and cleaned up the script behavior","default_branch":null,"files":null,"tree":[],"storefront":"/r/pulpul-s","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pulpul-s/watchertoucher/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}