Commit graph

14 commits

Author SHA1 Message Date
HaveAGitGat
7cc3b20d19 Disable global-require 2022-01-01 15:36:43 +00:00
HaveAGitGat
f037743bea Move imports into plugin function 2021-12-31 16:47:05 +00:00
HaveAGitGat
3042b35800 Use const lib = require('../methods/lib')(); for fresh imports 2021-12-31 16:22:15 +00:00
HaveAGitGat
db22ca561e update imports 2021-12-31 16:13:18 +00:00
HaveAGitGat
9e04b43e75 revertChanges 2021-12-28 23:05:31 +00:00
HaveAGitGat
2ba3df1977
Update lib (#227)
* Update library.js

* update imports

* update defaults
2021-12-28 22:37:51 +01:00
HaveAGitGat
90e2b3923a Plugin update 2021-12-11 19:48:53 +00:00
HaveAGitGat
f0109f2bfe lint fixes 2020-12-19 10:03:49 +01:00
Migz93
864cf41f1d Migz Plugins
1. Made changes to all plugins following lint testing. There are still various warnings/errors but my very limited knowledge of javascript means I just don't understand what the errors mean. Or in some cases I don't understand how to split the variable across several lines to confirm to the line limits.
I did manage to get it from
952 problems (943 errors, 9 warnings)
down to
37 problems (28 errors, 9 warnings)

2. Fix Flawed logic in FFMPEG plugins which would cause remux conditions to never trigger. Was checking if file was HEVC & VP9 which is impossible as they're both codecs.

3. Fixed a bug with CleanTitle where plugin would fail if a stream in the file didn't have a title.

4. Modify CleanSubtitle plugin to not remove sdh subtitles.

5. Include new plugin to just perform remuxes. Mainly aimed at remuxing to mkv or mp4.
2020-12-14 17:33:17 +00:00
HaveAGitGat
7904647075 lint init 2020-12-10 17:43:41 +01:00
Migz93
6901d53feb Migz Plugins Update
1) Add input to enable bframes. - ffmpegGPU plugin

2) Add timed_id3 has codec type to remove for mkv/mp4 if force_conform is enabled. - Both ffmpeg plugins

3) max_muxing_queue_size change to 9999 as this number is still too low in some cases.
2020-09-20 03:08:10 +01:00
HaveAGitGat
9c8ac98728 tidy 2020-05-15 01:26:35 +01:00
Migz93
20fe6461a1 Update: All Migz Plugins
1) Ran all plugins through javascript formatter to make them look nicer/ have correct javascript formatting.

2) Added comments to all plugins.

3) Modified all plugins that have checks for inputs to check for existance of inputs itself.

4) Modify 5ConvertAudio so that you can just put "true" in a single input, rather then having to put false in the opposing one. If only 1 action is wanted.

5) Fix for 3CleanAudio & 4CleanSubs where if language meta was completely missing then plugins would not set it to the specified tag language.

6) Correct 4CleanSubs input title of "tag_title" to "tag_language"
2020-04-19 20:31:35 +01:00
Migz93
46667bee2f Update: MJPEG Plugins
Remove iiDrakeii_Not_A_Video_Mjpeg_Fix plugin as this was resolved in Tdarr.

Create new plugin to strip out image format tracks, currently mjpeg & png.
2020-03-31 17:38:42 +01:00