Commit graph

477 commits

Author SHA1 Message Date
HaveAGitGat
b5ce3f497e Fix lint errors 2022-02-07 05:53:40 +00: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
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
HaveAGitGat
69e04a5c1f Ensure all requires are within plugin functions 2022-01-01 15:30:29 +00:00
HaveAGitGat
25f76a10ce Fix title 2022-01-01 14:28:03 +00:00
HaveAGitGat
3f2b4cd1ea Update plugin Ids 2022-01-01 13:40:06 +00:00
HaveAGitGat
8e62486414 update plugin ids 2022-01-01 13:30:26 +00:00
HaveAGitGat
ab6f493bc7 Add linebreaks 2021-12-31 20:02:05 +00:00
HaveAGitGat
88e9b5bc67 set as action 2021-12-31 19:53:55 +00:00
HaveAGitGat
3b588c723a Create Tdarr_Plugin_0house_action_add_audio_stream_codec.js 2021-12-31 19:52:25 +00:00
HaveAGitGat
6ba18d10c2 Create Tdarr_Plugin_0house_action_handbrake_basic_options.js 2021-12-31 19:52:23 +00:00
HaveAGitGat
6068c51bb0 Create Tdarr_Plugin_0house_action_handbrake_ffmpeg_custom.js 2021-12-31 19:52:19 +00:00
HaveAGitGat
d229315943 Create Tdarr_Plugin_0house_action_keep_one_audio_stream.js 2021-12-31 19:52:17 +00:00
HaveAGitGat
1e81b22b10 Create Tdarr_Plugin_0house_action_remux_container.js 2021-12-31 19:52:13 +00:00
HaveAGitGat
5789b4be5f Create Tdarr_Plugin_0house_action_standardise_audio_stream_codecs.js 2021-12-31 19:52:11 +00:00
HaveAGitGat
ee932f5445 Create Tdarr_Plugin_0house_filter_by_bitrate.js 2021-12-31 19:52:04 +00:00
HaveAGitGat
0c63392cd7 Create Tdarr_Plugin_0house_filter_by_codec.js 2021-12-31 19:51:54 +00:00
HaveAGitGat
5ad0e7a320 Create Tdarr_Plugin_0house_filter_by_resolution.js 2021-12-31 19:51:51 +00:00
HaveAGitGat
d7f58b2530 Create Tdarr_Plugin_0house_filter_by_size.js 2021-12-31 19:51:49 +00:00
HaveAGitGat
3c9efb1c0b Fix input name 2021-12-31 19:28:22 +00:00
HaveAGitGat
0a4ca6af91 Remove comment 2021-12-31 17:47:40 +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
8dbd3484df update defaults 2021-12-31 16:13:19 +00:00
HaveAGitGat
db22ca561e update imports 2021-12-31 16:13:18 +00:00
HaveAGitGat
de7218cda5
Update methods (#233)
* Remove importFresh from methods

* lint

* Remove importFresh

* Remove node_modules

* Add import-fresh to community plugins download

* Add import-fresh to actions and filters

* Add intermediate fresh library loader
2021-12-31 17:08:36 +01:00
William Brockhus
831c4b0372
fix: remove title tag instead of setting it to "" (#232) 2021-12-31 13:04:04 +01:00
William Brockhus
c2cf207a30
fix: default tag_language to empty string (#230)
fixes this option defaulting to eng when user intends to disable
2021-12-29 00:26:25 +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
12e99c55e9
Create Tdarr_Plugin_a9hf_New_file_duration_check.js (#224)
* Create Tdarr_Plugin_a9hf_New_file_duration_check.js

* Update desc
2021-12-27 20:13:54 +01:00
HaveAGitGat
b65b2dbe55 Update Tdarr_Plugin_a9he_New_file_size_check.js 2021-12-27 17:54:27 +00:00
HaveAGitGat
a248759bdc
Create Tdarr_Plugin_a9he_New_file_size_check.js (#222) 2021-12-27 18:42:35 +01:00
HaveAGitGat
f4793738a9 Update var name 2021-12-15 07:40:24 +00:00
HaveAGitGat
5c0dd11ec5
Add option to overwriteTrack true/false (#215) 2021-12-15 08:37:01 +01:00
HaveAGitGat
1baa066cf7
disposition fix (#213)
* disposition fix

* Fix
2021-12-15 07:07:37 +01:00