Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devster31/filebot-scripts
Personal FileBot scripts
https://github.com/devster31/filebot-scripts
Last synced: 12 days ago
JSON representation
Personal FileBot scripts
- Host: GitHub
- URL: https://github.com/devster31/filebot-scripts
- Owner: devster31
- License: mit
- Created: 2017-08-22T23:06:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T23:54:43.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T19:39:54.736Z (3 months ago)
- Language: Groovy
- Homepage:
- Size: 415 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FileBot format templating
To generate files run:
```
yarn
yarn run build
```
If you want to see the log output use `yarn run build-dbg`,
`env DEBUG='*' yarn run build` (fish shell) or equivalent in other shells.
The build script expects a directory tree like the following:
```
.
├── README.md
├── index.js
├── package.json
├── templates
│ ├── clear_secrets.json
│ ├── movieFormat.mustache
│ ├── partials
│ │ └── audio.mustache
│ ├── secrets.json
│ ├── seriesFormat.mustache
│ └── vars.json
└── yarn.lock
```
with template files (including desired extension) ending in `.mustache`
contained in `templates` (e.g. `movieFormat.groovy.mustache`) and
partials ending in `.mustache` and contained in `templates/partials`.
The script also requires a `vars.json` file and optionally a `clear_secrets.json`,
both contained in `templates`. These get merged at runtime.
The scripts outputs generated files into `dist`.