Files
Axter-Stash/plugins/FileMonitor/filemonitor.yml
David Maisonave 45f55d255d ver update
2024-08-24 09:09:37 -04:00

39 lines
1.5 KiB
YAML

name: FileMonitor
description: Monitors the Stash library folders, and updates Stash if any changes occurs in the Stash library paths.
version: 0.8.8
url: https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/FileMonitor
settings:
recursiveDisabled:
displayName: No Recursive
description: Enable to STOP monitoring paths recursively.
type: BOOLEAN
turnOnScheduler:
displayName: Scheduler
description: Enable to turn on the scheduler. See filemonitor_config.py for more details.
type: BOOLEAN
zmaximumBackups:
displayName: Max DB Backups
description: When value greater than 1, will trim the number of database backup files to set value. Requires [Scheduler] enabled and backupDirectoryPath populated with path length longer than 4.
type: NUMBER
zzdebugTracing:
displayName: Debug Tracing
description: Enable debug tracing. When enabled, additional tracing logging is added to Stash\plugins\FileMonitor\filemonitor.log
type: BOOLEAN
exec:
- python
- "{pluginDir}/filemonitor.py"
interface: raw
tasks:
- name: Start Library Monitor Service
description: Run [Library Monitor] as a SERVICE to update Stash with any media file changes.
defaultArgs:
mode: start_library_monitor_service
- name: Stop Library Monitor
description: Stops library monitoring within 2 minute.
defaultArgs:
mode: stop_library_monitor
- name: Monitor as a Plugin
description: Run [Library Monitor] as a plugin (*not recommended method*)
defaultArgs:
mode: start_library_monitor