Arrivals (for MacOS)
![npm release](https://img.shields.io/npm/v/arrivals-osx.svg?style=flat)
Arrivals will watch a directory and convert or copy a variety of incoming audio or video files for
you then place them somewhere you choose. This only works with MacOS and the primary use-case is
incoming torrents in flac or mkv formats that you'd like to play nice in an Apple ecosystem.
Requires node.js 8.0.0 or greater!
Features
- Watch many directories
- Register as launchdaemon
- Converts
'flac', 'mp3', 'mp4', 'm4a'
that are well-formed into ALAC/M4A - Can copy video & audio files to a destination directory
- Easy usage
- Status visibility through Finder tagging of source files
Installaion
npm install arrivals-osx -g
Use
Launch the installer to build your plist and start the launchdaemon.
$ arrivals install
Required system libraries
Full command list
$ arrivals [command]
Command | Description |
---|
watch | Run the process directly, you'll want to set the env vars. |
install | Interactive install as a system daemon |
How it works
- Launches watcher for a directory
- Builds existing paths database
- When events occur, evaluate against criterion
- is correct event
- is proper extension
- is not in existing paths db
- Push to work queue
- Add a Yellow "pending" tag for Finder
- Do work, either copy or convert
- Add a Green tag for "finished" or a Red tag for "error" in Finder