Tdarr_Plugins/Community
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
..
Tdarr_Plugin_00td_action_add_audio_stream_codec.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_00td_action_handbrake_basic_options.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_00td_action_handbrake_ffmpeg_custom.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_00td_action_keep_one_audio_stream.js Add -strict -2 2022-01-23 19:43:19 +00:00
Tdarr_Plugin_00td_action_re_order_all_streams_v2.js Reorder v2 fix (#283) 2022-03-21 21:33:16 +01:00
Tdarr_Plugin_00td_action_remux_container.js Update Tdarr_Plugin_00td_action_remux_container.js 2022-03-13 10:32:30 +00:00
Tdarr_Plugin_00td_action_standardise_audio_stream_codecs.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_00td_filter_by_bitrate.js infoLog fixes 2022-01-11 18:53:09 +00:00
Tdarr_Plugin_00td_filter_by_codec.js infoLog fixes 2022-01-11 18:53:09 +00:00
Tdarr_Plugin_00td_filter_by_resolution.js infoLog fixes 2022-01-11 18:53:09 +00:00
Tdarr_Plugin_00td_filter_by_size.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_43az_add_to_radarr.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_075a_FFMPEG_HEVC_Generic.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_075a_Transcode_Customisable.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_075b_FFMPEG_HEVC_Generic_Video_Audio_Only.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_075c_FFMPEG_HEVC_Generic_Video_Audio_Only_CRF20.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_075d_FFMPEG_HEVC_GPU_Generic_Video_Audio_Only_CRF20.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_076a_re_order_audio_streams.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_076b_re_order_subtitle_streams.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_077b_HandBrake_NVENC_264_Configurable.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_078d_Output_embedded_subs_to_SRT_and_remove.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_a8hc_HaveAGitGat_HandBrake_H264_VeryFast1080p30.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_a9hc_HaveAGitGat_HandBrake_H264_Fast1080p30.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_a9hd_FFMPEG_Transcode_Specific_Audio_Stream_Codecs.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_a9he_New_file_size_check.js Reduce lower bound 2022-03-16 10:28:15 +01:00
Tdarr_Plugin_a9hf_New_file_duration_check.js Bump version 2022-02-07 05:32:00 +00:00
Tdarr_Plugin_a37x_Drawmonster_MP4_No_Title_Meta.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js Fix space 2022-03-09 19:58:01 +00:00
Tdarr_Plugin_b38x_Nosirus_h265_aac_no_meta.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_b39x_the1poet_surround_sound_to_ac3.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js Add QSV HEVC plugin (#265) 2022-03-08 16:36:45 +01:00
Tdarr_Plugin_c0r1_SetDefaultAudioStream.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_d5d3_iiDrakeii_FFMPEG_NVENC_Tiered_MKV.js Remove rc:v (#223) 2022-03-05 11:36:53 +01:00
Tdarr_Plugin_d5d4_iiDrakeii_Not_A_Video_Mjpeg_Fix.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_DOOM_NVENC_Tiered_MKV_CleanAll.js Remove rc:v (#223) 2022-03-05 11:36:53 +01:00
Tdarr_Plugin_drdd_standardise_all_in_one.js Remove rc:v (#223) 2022-03-05 11:36:53 +01:00
Tdarr_Plugin_e3jc_Tharic_H.264_MKV_480p30_No_Subs_No_Title_Meta.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_e3jd_Tharic_H.264_MKV_720p30_No_Subs_No_Title_Meta.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_e3je_Tharic_H.264_MKV_1080p30_No_Subs_No_Title_Meta.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_e5c3_CnT_Remove_Letterbox.js Remove rc:v (#223) 2022-03-05 11:36:53 +01:00
Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js Update Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js (#279) 2022-03-18 13:27:25 +01:00
Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_goof1_URL_Plex_Refresh.js Add/update encodeURIComponent to allow for successful path uri encoding (#248) 2022-01-08 05:27:44 +01:00
Tdarr_Plugin_Greg_MP3_FFMPEG_CPU.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_henk_Add_Specific_Audio_Codec.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_henk_Keep_Native_Lang_Plus_Eng.js Fix sonarr dir match (#276) 2022-03-19 17:21:28 +01:00
Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_hk76_GilbN_MP4_AAC_No_metaTitle.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_JB69_JBHEVCQSV_MinimalFile.js Fix error with ts files and cleanup (#271) 2022-03-31 16:36:14 +02:00
Tdarr_Plugin_JB69_JBHEVCQSZ_PostFix.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_jeons001_Downmix_to_stereo_and_apply_DRC.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_lmg1_Reorder_Streams.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_MC93_Migz1FFMPEG.js Remove rc:v (#223) 2022-03-05 11:36:53 +01:00
Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_MC93_Migz1Remux.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_MC93_Migz2CleanTitle.js Adds missing details and fixes tooltip formating (#261) 2022-02-08 03:26:56 +01:00
Tdarr_Plugin_MC93_Migz3CleanAudio.js Update migz audio/subtitle cleaners to slightly improve logging (#240) 2022-01-02 18:24:55 +01:00
Tdarr_Plugin_MC93_Migz4CleanSubs.js Also Remove any Subs tagged with SDH (#278) 2022-03-19 17:23:01 +01:00
Tdarr_Plugin_MC93_Migz5ConvertAudio.js fix title (remove space) (#287) 2022-03-31 16:28:37 +02:00
Tdarr_Plugin_MC93_Migz6OrderStreams.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_MC93_MigzImageRemoval.js Add remove a newer image attachment of "gif" (#284) 2022-03-31 16:35:10 +02:00
Tdarr_Plugin_MC93_MigzPlex_Autoscan.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_MP01_MichPasCleanSubsAndAudioCodecs.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_Mthr_VaapiHEVCTranscode.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_nc7x_Drawmonster_No_Title_Meta.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_NIfPZuCLU_2_Pass_Loudnorm_Audio_Normalisation.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_O8O0dCTlb_Set_File_Permissions_For_UnRaid.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_r002_rootuser_FFMPEG_HQ_HEVC_MKV_Animation.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_raf4_Floorpie_FFmpeg_Tiered_HEVC_MKV.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_rr01_drpeppershaker_extract_subs_to_SRT.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_s7x8_winsome_h265.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_s7x9_winsome_h265_10bit.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_s7x9_winsome_h265_nvenc.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_s710_nick_h265_nvenc_4K.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_sdd3_Remove_Commentary_Tracks.js ffProbe's disposition comment flag (#269) 2022-02-15 05:28:05 +01:00
Tdarr_Plugin_sdf5_Thierrrrry_Remove_Non_English_Audio.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_SV6x_Smoove1FFMPEG_NVENC_H264.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_TD01_TOAD_Autoscan.js Add/update encodeURIComponent to allow for successful path uri encoding (#248) 2022-01-08 05:27:44 +01:00
Tdarr_Plugin_vdka_Remove_DataStreams.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_vdka_Tiered_CPU_CRF_Based_Configurable.js Fix error when stream has no codec_name 2022-01-26 11:13:12 -05:00
Tdarr_Plugin_vdka_Tiered_NVENC_CQV_BASED_CONFIGURABLE.js Remove vbr_hq 2022-03-21 09:01:49 +00:00
Tdarr_Plugin_VP92_VP9_Match_Bitrate_One_Pass.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_x7ab_Remove_Subs.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_x7ac_Remove_Closed_Captions.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z0ab_TheRealShadoh_FFmpeg_Subs_H264_Medium.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z1ab_TheRealShadoh_FFmpeg_Subs_H264_Fast.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z2ab_TheRealShadoh_FFmpeg_Subs_H264_Slow.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z3ab_TheRealShadoh_FFmpeg_Subs_H264_VeryFast.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z18s_rename_files_based_on_codec.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z18t_rename_files_based_on_codec_and_resolution.js Disable global-require 2022-01-01 15:36:43 +00:00
Tdarr_Plugin_z80t_keep_original_date.js Disable global-require 2022-01-01 15:36:43 +00:00