Commit graph

510 commits

Author SHA1 Message Date
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
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
Boosh1
1c211ad3fd
Add QSV HEVC plugin (#265)
Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-03-08 16:36:45 +01:00
HaveAGitGat
a89bf7d8c4
Update Tdarr_Plugin_vdka_Tiered_NVENC_CQV_BASED_CONFIGURABLE.js 2022-03-07 19:25:39 +01:00
HaveAGitGat
7b5dc9d625
Remove rc:v (#223)
* Remove rc:v

* Lint fix
2022-03-05 11:36:53 +01:00
Stephen Townsend
38c37509ba
ffProbe's disposition comment flag (#269)
Checks the disposition comment flag for positive commentary
2022-02-15 05:28:05 +01:00
Jeff R
84ba82bcf1
Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js (#253)
* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Updated to make use of mediaInfo file object and dropdowns.  All external dependencies removed.

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Fixed typo

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

another small tweak

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Fixed id error.

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Removed eslint disable.

* Fix lint errors

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Updated to make use of mediaInfo file object and dropdowns.  All external dependencies removed.

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Fixed typo

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

another small tweak

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Fixed id error.

* Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js

Removed eslint disable.

* Fix lint errors

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-02-15 05:26:04 +01:00
Enigma
d0a5ccf078
Adds missing details and fixes tooltip formating (#261)
* Adds missing details and fixes tooltip formating

The audio & subtitle stream titles are not altogether removed. Should probably add another option for that down the road.

* Fix lint errors

* Adds missing details and fixes tooltip formating

The audio & subtitle stream titles are not altogether removed. Should probably add another option for that down the road.

* Fix lint errors

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-02-08 03:26:56 +01:00
HaveAGitGat
c12272c2a8
Merge pull request #260 from Enigma0/patch-1
Fix error when stream has no codec_name
2022-02-07 07:01:43 +01:00
HaveAGitGat
e04e6de490
Merge pull request #262 from zachg99/Add-Input-Values-and-Fix-MKV-tags
Add input values and fix mkv tags
2022-02-07 07:00:02 +01:00
HaveAGitGat
d6d2bc4edc Fix lint 2022-02-07 05:58:39 +00:00
HaveAGitGat
2cf805a6f6 Re-add string 2022-02-07 05:57:01 +00:00
Zach Gelnett
f8a1ada42b Updating to comply with eslint. Unabe to get stream matching function to
work so changed eqeqeq to warning.
2022-02-07 05:56:48 +00:00
Zach Gelnett
886ce0b2ae 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).
2022-02-07 05:56:48 +00:00
HaveAGitGat
6a95bcd088
Merge pull request #263 from townsste/master
Bug fix for Chinese orginal language
2022-02-07 06:54:35 +01:00
HaveAGitGat
b5ce3f497e Fix lint errors 2022-02-07 05:53:40 +00:00
HaveAGitGat
490d681d8f Bump version 2022-02-07 05:32:00 +00:00
Enigma
92eab29bd8
3 decimal places 2022-02-05 17:33:21 -05:00
Enigma
84435cf43f
Better precision when files are .1 .01 .001 % off for example
Lets you set upper and lower bounds more accurately and prints out more accurate error figures. Default has error range of 2%, this default has error range of 1% (.5% above or below).

In testing it appears that going even to 99.8 <> 100.2 would also be acceptable and present little to no false positives with an error range of .4%. I've seen random failures that are just barely caught at 98% of original.

newData & oldData maintain up to 3 to 5 decimal places of accuracy sometimes. This allows ratio to more accurately reflect that. 2 places should be sufficient.
2022-02-05 10:07:03 -05:00
Stephen Townsend
b82696fabb
Bug fix for Chinese orginal language
Changes per review
2022-01-27 17:34:38 -08:00
Stephen Townsend
84282a43df
Bug fix for Chinese orginal language
Bug where a Chinese original language movie would be set as und or undefined because of the return value from TMBD as 'cn'.  The iso-language expects 'zh' for Chinese.
Also the array is unnecessary given TMDB should only every report a single language and is not reliant on imdb multiple languages.
2022-01-27 03:43:02 -08:00
Enigma
92d568b572
Fix error when stream has no codec_name
Sometimes a stream has no codec_name property and the plugin fails
2022-01-26 11:13:12 -05:00
HaveAGitGat
0fed4e0ddc
Merge pull request #258 from HaveAGitGat/log_fixes
Add -strict -2
2022-01-23 21:49:10 +01:00
HaveAGitGat
3f40c6c5d5 Add -strict -2 2022-01-23 19:43:19 +00:00
Zach Gelnett
829cb2739e
Updating variables so all are lowerCamelCase (#254)
* 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

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-01-15 11:25:57 +01:00
HaveAGitGat
a94d2823f5 infoLog fixes 2022-01-11 18:53:09 +00:00
HaveAGitGat
f5b3e62934
Re order all streams (#250)
* Create Tdarr_Plugin_00td_action_re_order_all_streams_v2.js

* Update default value
2022-01-08 08:58:04 +01:00
HaveAGitGat
a5b230df72
Create Tdarr_Plugin_00td_action_re_order_all_streams_v2.js (#249) 2022-01-08 08:52:38 +01:00
Draper
7ffcd4d4f7
Add/update encodeURIComponent to allow for successful path uri encoding (#248)
* Add/update encodeURIComponent to allow for successful path uri encoding

* Breakup line to meet 120 char limit enforced by the tests

* concat string

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-01-08 05:27:44 +01:00
Tony
bf37a65a17
ignore cert mismatch for *.plex.direct (#244)
* ignore cert mismatch for *.plex.direct

add parameter to ignore cert mismatches for custom domains since plex tries to push everything through their generated subdomains and it may see a cert issue.

* removed incorrect instruction no longer required
2022-01-06 00:33:49 +01:00
stenki-eu
baaeb707de
Update Tdarr_Plugin_vdka_Tiered_NVENC_CQV_BASED_CONFIGURABLE.js (#243)
missing blank
2022-01-04 18:35:58 +00:00
HaveAGitGat
93164ba583
Fix bug and add dropdown (#241) 2022-01-02 18:32:14 +01:00
William Brockhus
5bfe7bd474
Update migz audio/subtitle cleaners to slightly improve logging (#240)
* fix: minor logging improvements

* chore: formatting

* chore: linting/formatting
2022-01-02 18:24:55 +01:00
Zach Gelnett
93bc0c3a93
Fixed NaN Issue For Bitrates And findMediaInfoItem for Subtitles (#228)
* 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

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-01-02 18:24:26 +01:00
Tony
5b9b58074e
Create Tdarr_Plugin_goof1_URL_Plex_Refresh (#217)
* Create Tdarr_Plugin_goof1_URL_Plex_Refresh

* forgot .js

* Fix lint errors

* requested mods, waiting fir UI menu specs

* moving requires into function as shown in example and a stupid mistake

* escape \ in new lines for info bubbles

* rewording for clarity

* handle path sub edge cases

* added filler return and fixed path builder bug

* Add check for inputUI type

* Fix inputUI types

* Create Tdarr_Plugin_goof1_URL_Plex_Refresh

* forgot .js

* requested mods, waiting fir UI menu specs

* Fix lint errors

* moving requires into function as shown in example and a stupid mistake

* lint, add checkPlugins fixes and add promises to requests

Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
2022-01-02 18:24:05 +01:00
HaveAGitGat
7cc3b20d19 Disable global-require 2022-01-01 15:36:43 +00:00