Commit graph

736 commits

Author SHA1 Message Date
HaveAGitGat
ea71957b55 Add Tdarr_Plugin_075a_FFMPEG_HEVC_Generic test 2022-05-21 19:14:50 +01:00
HaveAGitGat
ca8eedff76 Log all errors together, use chalk 2022-05-21 19:11:11 +01:00
HaveAGitGat
fc2b3f9b27 Add Tdarr_Plugin_00td_filter_by_size test 2022-05-21 15:37:01 +01:00
HaveAGitGat
77692935c5 Add Tdarr_Plugin_00td_filter_by_resolution test 2022-05-21 15:33:38 +01:00
HaveAGitGat
2c8050f01c Add Tdarr_Plugin_00td_filter_by_bitrate test 2022-05-21 15:29:03 +01:00
HaveAGitGat
7511d748e7 Lint 2022-05-21 15:19:05 +01:00
HaveAGitGat
8f442d4bbf Add Tdarr_Plugin_00td_action_standardise_audio_stream_codecs test 2022-05-21 15:19:00 +01:00
HaveAGitGat
8fc04f8ab0 Add Tdarr_Plugin_00td_action_remux_container test 2022-05-21 15:13:21 +01:00
HaveAGitGat
a5109ac921 Add Tdarr_Plugin_00td_action_re_order_all_streams_v2 test 2022-05-21 15:08:49 +01:00
HaveAGitGat
5e61c32889 Fix reorder streams bug 2022-05-21 15:08:19 +01:00
HaveAGitGat
3ecd993796 Fix lint 2022-05-21 14:14:51 +01:00
HaveAGitGat
d409773061 Add Tdarr_Plugin_00td_action_keep_one_audio_stream test 2022-05-21 14:14:43 +01:00
HaveAGitGat
b1941589c6 Add Tdarr_Plugin_00td_action_handbrake_ffmpeg_custom test 2022-05-21 14:08:48 +01:00
HaveAGitGat
3d7314b94c Add Tdarr_Plugin_00td_action_handbrake_basic_options test 2022-05-21 13:59:37 +01:00
HaveAGitGat
8f9a97021f Add Tdarr_Plugin_00td_action_add_audio_stream_codec test 2022-05-21 13:55:02 +01:00
HaveAGitGat
275025ece8 Add tdarrSkipTest logic 2022-05-21 13:40:08 +01:00
HaveAGitGat
fa2b0abd92 Add new tests 2022-05-20 08:56:03 +01:00
HaveAGitGat
e194e6d35c
Add filter_by_codec_tag_string (#310) 2022-05-20 08:44:42 +02:00
Boosh1
2179a1f634
Update plugin - Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC - OS support, custom ffmpeg cmd input + clean-up (#306)
* Create Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

* Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

* Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

* Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

Corrected some tooltips. Plugin should now have all the descriptions correct & should round bitrates down to avoid decimals on the ffmpeg cmd.

* Initial sweep through noted issues

Initial sweep through all issues. Spelling should be corrected.
Unneeded returns & parenthesis removed.
Force conform added for mp4>mkv etc.
Encoder pre-set speed changed to slow default.
10 bit option now correctly allows encode to 10bit with separate check if file is already 10bit.
Comments & layout improved

* Another round of fixes

Spelling cleaned up again
10bit encode logic corrected again
Vars cleaned up
Comments formatted a bit better

* Fix checkPlugins error

* Fixed input types

Input types should be fixed
Merged change to replace "function details"
Minor correction to a comment in the wrong place

* Very minor update to strings

Just adding some full stops to ends of lines

* Create Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

* Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

* Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

* Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js

Corrected some tooltips. Plugin should now have all the descriptions correct & should round bitrates down to avoid decimals on the ffmpeg cmd.

* Initial sweep through noted issues

Initial sweep through all issues. Spelling should be corrected.
Unneeded returns & parenthesis removed.
Force conform added for mp4>mkv etc.
Encoder pre-set speed changed to slow default.
10 bit option now correctly allows encode to 10bit with separate check if file is already 10bit.
Comments & layout improved

* Another round of fixes

Spelling cleaned up again
10bit encode logic corrected again
Vars cleaned up
Comments formatted a bit better

* Fix checkPlugins error

* Lint

* Changed strings to numbers for bitrate settings

Also added "k" to some strings for the info logs so they are more consistent

* Fix for possible issue where target bitrate ends up higher than current bitrate

Been reported that a file ended up coming out larger and in fact the target bitrate somehow ended up being double the current bitrate instead of half.
Never seen this myself but I've changed two things.
Adjusted the targetBitrate calculation to ensure halving it happens last. Then added in a protection incase the target bitrate ends up equal or higher than the current bitrate.

* Fix for If checks after changing strings to numbers

Due to changing the strings to numbers some IF checks needed updating to check if things were "0" now instead of just blank.

* Tidy up of tooltips to add more info

Tidied up tooltips for hevc options to make them clearer and formatted better
Also removed some lines which were unneeded

* Reverting change from string to number

Changed the inputs back to strings. As numbers we can't default them to a blank value which is better for users
Also moved HDR check to top of video check to ensure it's caught before we start trying to remux anything.

* Changed inputs back to numbers

Text entries now changed back to numbers. Tooltip explains that 0 means disabled and a valid number is needed to use them.

* Very minor fix

Left space at end of "extraArguments" to ensure it doesn't disrupt the rest of the ffmpeg cmd line

* Lint error

* Updated to account for OS types

Updated to account for OS types & clean up of decode & encode steps. Another clean-up of tooltips as well

* Another cleanup

Cleanup tooltips & comments

* Another change to tooltips

* Another cleanup

Also corrected messy info for the OS options

* Another cleanup of Tooltips

Try and make them much clearer...

* Remove bad comment

* Revert "Merge branch 'master' of https://github.com/Boosh1/Tdarr_Plugins"

This reverts commit 116fdc5df958cde059289d0caa8466e187f3f616, reversing
changes made to bf4f1bfeb5e896279aca85a467e1fea7e0026309.

* Revert "Revert "Merge branch 'master' of https://github.com/Boosh1/Tdarr_Plugins""

This reverts commit 5de425147a640f1328f6192e0155fdfe5da59143.

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-05-20 07:48:12 +02:00
HaveAGitGat
584e4cb557 Update wording 2022-05-18 18:09:09 +01:00
HaveAGitGat
94710291c8
use ffprobedata (#307) 2022-05-17 20:06:49 +02:00
HaveAGitGat
a1c711fb9b Update Tdarr_Plugin_vdka_Remove_DataStreams.js 2022-05-16 05:09:00 +01:00
HaveAGitGat
d245122b31
Update Tdarr_Plugin_vdka_Remove_DataStreams.js 2022-05-13 15:05:59 +01:00
HaveAGitGat
49d6a692a8
Update Tdarr_Plugin_vdka_Remove_DataStreams.js 2022-05-13 14:35:04 +01:00
HaveAGitGat
99ad3b334d
Add error warning if no streams info (#298) 2022-05-07 17:33:40 +02:00
HaveAGitGat
ba2dbf4470
Pepper fix (#301)
* Check title is string

* Fix lint and brackets

* Add more checks
2022-04-25 20:29:13 +02:00
HaveAGitGat
764afced49
Check title is string (#300)
* Check title is string

* Fix lint and brackets
2022-04-25 20:08:22 +02:00
dependabot[bot]
d593eb312d
Bump ansi-regex from 4.1.0 to 4.1.1 (#293)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 16:54:28 +02:00
Fish2
595fdf402a
Add mpeg4 Decode Migz GPU (#289)
* Add mpeg4 decode

* Increment version
2022-04-10 16:53:44 +02:00
dependabot[bot]
ed80066224
Bump minimist from 1.2.5 to 1.2.6 (#288)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 16:52:22 +02:00
Fish2
01e85692ec
fix unknown timestamp fix for ts and avi for migz gpu (#292)
* unknown timestamp fix for ts and avi

* Increment version

* fix formatting

* Fix comment
2022-04-10 16:51:04 +02:00
HaveAGitGat
5c605a2d20 Fix re-order bug 2022-04-09 13:35:27 +01:00
HaveAGitGat
7a337456c6 Fix line length error 2022-04-09 13:34:39 +01:00
HaveAGitGat
bba9e12400 Update wording 2022-04-08 08:10:48 +01:00
Rick Meijer
e3f1842b74
Update Tdarr_Plugin_vdka_Tiered_CPU_CRF_Based_Configurable.js (#291)
Missing space. Command is invalid this way.
2022-04-01 05:02:25 +02:00
argonan
884cadd6a0
Add 10bit output boolean (#280)
* Add 10bit output boolean

Certain media benefits from being pushed into 10bit if not already. This could be improved by detecting if the source file already is 10bit and maybe assigning a special main10 profile.

* edits per review comments

* Fix rename issue

* Cleanup

Had to revert from a ternary since ESLint got mad

Co-authored-by: supersnellehenk <rick@marojeri.nl>
2022-03-31 16:38:23 +02:00
Zach Gelnett
c4707a5ee2
Fix error with ts files and cleanup (#271)
* Fixed the NaN issue with BitRates. Some files had bitrate missing in the
MediaInfo data so pulling from the "extra" section for those. Also
resolved an issue with the way the findMediaInfoItem function wasn't
working with subtitle tracks (well it wasn't working for all files due
to the general section because of a previous attempted subtitle fix but
this should be much much much better and work in most all cases).

* Updating to comply with eslint. Unabe to get stream matching function to
work so changed eqeqeq to warning.

* Re-add string

* parseInt

* Merge remote-tracking branch 'refs/remotes/origin/master'

* Modified variable names to use the lowerCamelCase naming convetion

* Fixed eslint issue

* Fixed an out of memory issue that prevented .ts files from being
processed by removing the framerate portion of the video filter
command when processing a .ts file.

Removed a bunch of variables used for building the ffmpeg command and
moved the actual strings down to where the logic is used. Reducing
plugin file size and variable ussage.

Fixed a minor bug related to changing the video height where it would
always use the 1080 value rather than using the value used in the input.

* Fixed issue with template line.

* Removed the commented code. Cleaned up other comments to improve
readability.

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-03-31 16:36:14 +02:00
Fish2
75c9ae3e55
Add remove a newer image attachment of "gif" (#284)
* Add remove a newer image attachment of "gif"

* Increment version

Co-authored-by: supersnellehenk <rick@marojeri.nl>
2022-03-31 16:35:10 +02:00
Fish2
4d8aa2dc0d
fix title (remove space) (#287) 2022-03-31 16:28:37 +02:00
HaveAGitGat
3e4176423c
Reorder v2 fix (#283)
* Fix ffmpeg bug (doesn't move image streams)

* Ignore reorder if png

* Fix lint
2022-03-21 21:33:16 +01:00
HaveAGitGat
e4d0ea0207
Fix ffmpeg bug (doesn't move image streams) (#282) 2022-03-21 21:27:47 +01:00
HaveAGitGat
82d2326fd0 Remove vbr_hq 2022-03-21 09:01:49 +00:00
Fish2
303dc24f93
Also Remove any Subs tagged with SDH (#278) 2022-03-19 17:23:01 +01:00
Rick Meijer
56bcebb4d8
Fix sonarr dir match (#276)
* Fix sonarr dir match

Not everyone has the same paths between Sonarr and Tdarr, especially when running in Docker. This fixes the issue where those paths don't match by just looking at the show folder.

* Clearer logs
2022-03-19 17:21:28 +01:00
HaveAGitGat
3bb0aa4354
Lint filters (#281) 2022-03-19 16:46:26 +01:00
Rick Meijer
a7903f6c3b
Update Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js (#279)
Default is wrong, plugin will fail by default.
2022-03-18 13:27:25 +01:00
HaveAGitGat
995c95c05a
Reduce lower bound 2022-03-16 10:28:15 +01:00
HaveAGitGat
45fc71623d
Update Tdarr_Plugin_00td_action_remux_container.js 2022-03-13 10:32:30 +00:00
HaveAGitGat
438bf3f0f3
Fix space 2022-03-09 19:58:01 +00:00
HaveAGitGat
3292022e86
Small changes (#273) 2022-03-09 06:44:40 +01:00