Media scanner plugin for nestor
npm install nestor-media
|1||downloads in the last week|
|1||downloads in the last month|
|Version||0.0.2 last updated a month ago|
|Dependencies||chokidar, node-ffprobe, when|
Media scanning plugin for nestor
This plugin adds a media scanning facility to nestor, with multiple watched directories.
It should not be used directly, it will be automatically added by other plugins (nestor-music and nestor-video).
WatchedDir: a model to store paths to watched directories
watchedDirs: access to watched directories
media:file: dispatched when a file was discovered or has changed somewhere in a watched directory, with the following arguments:
- full path to the file
- file mimetype
- ffprobe data
media:removed: dispatched when a file was removed somewhere in a watched directory, with the full path to the removed file as an argument.