No description
Find a file
clifford64 c372a21883
Update index.ts
Current implementation is looking for "transfer_characteristics" within ffprobe data as an attribute that has to match to determine if a file is HDR or not. However, current ffprobe is not showing this attribute on HDR files. I am proposing changing this attribute to "color_transfer" which does show up on HDR files.
2023-09-05 16:34:09 -04:00
.github Use node 18 2023-07-04 18:59:10 +01:00
Community Update ts lint rules 2023-08-20 17:25:04 +01:00
examples Update ts lint rules 2023-08-20 17:25:04 +01:00
FlowPlugins Updated transfer_characteristics to color_transfer 2023-09-05 16:26:18 -04:00
FlowPluginsTs Update index.ts 2023-09-05 16:34:09 -04:00
methods Update methods lint rules 2023-08-20 17:27:29 +01:00
tests Update community plugin lint rules, add ts 2023-08-20 17:29:04 +01:00
.eslintrc.json Update ts lint rules 2023-08-20 17:25:04 +01:00
.gitignore Fixes #129 + gitignore IDE files 2021-02-16 22:58:40 +01:00
LICENSE Initial commit 2019-09-22 20:13:53 +01:00
package-lock.json Add eslint_d 2023-08-29 07:00:52 +01:00
package.json Add eslint_d 2023-08-29 07:00:52 +01:00
README.md Steps to write a Tdarr Flow plugin 2023-08-27 10:12:50 +01:00
tsconfig.eslint.json Update community plugin lint rules, add ts 2023-08-20 17:29:04 +01:00
tsconfig.json Update community plugin lint rules, add ts 2023-08-20 17:29:04 +01:00

Tdarr_Plugins

Visit the docs for more info: https://docs.tdarr.io/docs/plugins/basics

Development

Make sure NodeJS v16 is installed

Install dependencies:

npm install

Run ESLint:

npm run lint:fix

Check plugins using some extra custom rules:

npm run checkPlugins

Run tests:

npm run test

Steps to write a Tdarr Flow plugin:

  1. Clone this repo
  2. Set env variable pluginsDir to the location of the plugins repo and run Tdarr Server and Node. E.g. export pluginsDir=C:/Tdarr_Plugins
  3. Browse the typescript plugins here https://github.com/HaveAGitGat/Tdarr_Plugins/tree/master/FlowPluginsTs/CommunityFlowPlugins and make edits locally or create a new one locally:
  4. Make sure typescript is intalled with npm i -g typescript then run tsc to compile the changes.
  5. Refresh the browser and Tdarr will pick up the changes