mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
No description
Fairly major revision. Been using this locally for months on HEVC & AV1 encodes and not had any issues currently. I can't verify if my 4k HDR & DoVi setups are 'actually' working for real but they seem to look correct & I've not had errors for encodes or on Plex. With AV1 support, admittedly this may be confusing since the plugin ID still specifies HEVC but I have updated the name. I didn't want to split this into a new plugin since the logic is pretty much exactly the same & I don't want to maintain two almost identical plugins) - Adding AV1 encode support, added as drop down selector (default is still hevc) - Logic should pick valid video profile for either encoder setting - HDR detection & encode improvement (Appears to work on my HDR content & DoVi) - Added target bitrate modifier so it's possible to tune the bitrate (useful for AV1 to crunch it down further) - Better bitrate detection, should error if it can't be found at all - Mac support is over. Doubt anyone was really using it on Mac but it's not worth touching further. Plugin should still use videotoolbox when on Mac but I won't be fixing up errors. - Cleaned up descriptions & info logs where reasonable to try and clarify what's happening - Tests updated & added new test for a fully loaded AV1 setup |
||
|---|---|---|
| .github | ||
| Community | ||
| examples | ||
| FlowPlugins | ||
| FlowPluginsTs | ||
| methods | ||
| tests | ||
| .eslintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.eslint.json | ||
| tsconfig.json | ||
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:
- Clone this repo
- Set env variable
pluginsDirto the location of the plugins repo and run Tdarr Server and Node. E.g.export pluginsDir=C:/Tdarr_Plugins - 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:
- Make sure typescript is intalled with
npm i -g typescriptthen runtscto compile the changes. - Refresh the browser and Tdarr will pick up the changes