* Add new tests
* Add tdarrSkipTest logic
* Add Tdarr_Plugin_00td_action_add_audio_stream_codec test
* Add Tdarr_Plugin_00td_action_handbrake_basic_options test
* Add Tdarr_Plugin_00td_action_handbrake_ffmpeg_custom test
* Add Tdarr_Plugin_00td_action_keep_one_audio_stream test
* Fix lint
* Fix reorder streams bug
* Add Tdarr_Plugin_00td_action_re_order_all_streams_v2 test
* Add Tdarr_Plugin_00td_action_remux_container test
* Add Tdarr_Plugin_00td_action_standardise_audio_stream_codecs test
* Lint
* Add Tdarr_Plugin_00td_filter_by_bitrate test
* Add Tdarr_Plugin_00td_filter_by_resolution test
* Add Tdarr_Plugin_00td_filter_by_size test
* Log all errors together, use chalk
* Add Tdarr_Plugin_075a_FFMPEG_HEVC_Generic test
* Add Tdarr_Plugin_075a_Transcode_Customisable test
* Add Tdarr_Plugin_075b_FFMPEG_HEVC_Generic_Video_Audio_Only test
* Add Tdarr_Plugin_075c_FFMPEG_HEVC_Generic_Video_Audio_Only_CRF20 test
* Add Tdarr_Plugin_075d_FFMPEG_HEVC_GPU_Generic_Video_Audio_Only_CRF20 test
* Add Tdarr_Plugin_076a_re_order_audio_streams test
* Add chalk
* Add Tdarr_Plugin_076b_re_order_subtitle_streams
* Add Tdarr_Plugin_077b_HandBrake_NVENC_264_Configurable test
* Add Tdarr_Plugin_a8hc_HaveAGitGat_HandBrake_H264_VeryFast1080p30 test
* Add Tdarr_Plugin_a9hc_HaveAGitGat_HandBrake_H264_Fast1080p30 test
* Add Tdarr_Plugin_a9hd_FFMPEG_Transcode_Specific_Audio_Stream_Codecs test
* Update qsv to vaapi (will handle input at later date)
* Add Tdarr_Plugin_a9he_New_file_size_check test
* useCloneDeep
* Add Tdarr_Plugin_a37x_Drawmonster_MP4_No_Title_Meta test
* Add Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only test
* Add Tdarr_Plugin_b38x_Nosirus_h265_aac_no_meta test
* Add Tdarr_Plugin_b39x_the1poet_surround_sound_to_ac3 test
* Add Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC test
* Add Tdarr_Plugin_c0r1_SetDefaultAudioStream test
* Lint
* Add Tdarr_Plugin_d5d3_iiDrakeii_FFMPEG_NVENC_Tiered_MKV test
* Add Tdarr_Plugin_d5d4_iiDrakeii_Not_A_Video_Mjpeg_Fix test
* Add Tdarr_Plugin_da11_Dallas_FFmpeg_Presets_H264_MP4 test
* Tdarr_Plugin_DOOM_NVENC_Tiered_MKV_CleanAll test
* Remove logging
* Add Tdarr_Plugin_drdd_standardise_all_in_one test
* Add Tdarr_Plugin_e3jc_Tharic_H.264_MKV_480p30_No_Subs_No_Title_Meta test
* Add Tdarr_Plugin_e3jd_Tharic_H.264_MKV_720p30_No_Subs_No_Title_Meta test
* Add Tdarr_Plugin_e3je_Tharic_H.264_MKV_1080p30_No_Subs_No_Title_Meta test
* Add Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio test
* Add Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac) test
* Add Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs test
* Add Tdarr_Plugin_Greg_MP3_FFMPEG_CPU test
* Add Tdarr_Plugin_henk_Add_Specific_Audio_Codec test
* Add Tdarr_Plugin_hk75_Drawmonster_MP4_AAC_No_Subs_No_metaTitle test
* Add Tdarr_Plugin_hk76_GilbN_MP4_AAC_No_metaTitle test
* Add outputModify func
* Base tests on linux for now
* Add Tdarr_Plugin_jeons001_Downmix_to_stereo_and_apply_DRC test
* Add Tdarr_Plugin_lmg1_Reorder_Streams test
* Add Tdarr_Plugin_MC93_Migz1FFMPEG test
* Add Tdarr_Plugin_MC93_Migz1FFMPEG_CPU test
* Add Tdarr_Plugin_MC93_Migz1Remux test
* Add Tdarr_Plugin_MC93_Migz2CleanTitle test
* Add Tdarr_Plugin_MC93_Migz2CleanTitle test
* Add Tdarr_Plugin_MC93_Migz3CleanAudio test
* Add Tdarr_Plugin_MC93_Migz4CleanSubs test
* Add Tdarr_Plugin_MC93_Migz5ConvertAudio test
* Add Tdarr_Plugin_MC93_Migz6OrderStreams test
* Add Tdarr_Plugin_MC93_MigzImageRemoval test
* Add Tdarr_Plugin_MP01_MichPasCleanSubsAndAudioCodecs test
* Add Tdarr_Plugin_Mthr_VaapiHEVCTranscode test
* Add Tdarr_Plugin_nc7x_Drawmonster_No_Title_Meta test
* Add Tdarr_Plugin_r002_rootuser_FFMPEG_HQ_HEVC_MKV_Animation test
* Add Tdarr_Plugin_raf4_Floorpie_FFmpeg_Tiered_HEVC_MKV test
* Add Tdarr_Plugin_s7x8_winsome_h265 test
* 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>
* 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>
* 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>
* 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
* 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>
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).
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.
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.