* 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.
* 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>
* 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>
* 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
* 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>
* 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>
* Create parameter for new audio stream either before or after
parameter is empty; new stream will be created after the orginal.
parameter is 'before'; new stream is created before the existing stream
* Create parameter for new audio stream either before or after
parameter is empty; new stream will be created after the orginal.
parameter is 'before'; new stream is created before the existing stream
* Bug fix
* Add dropdown
* Set after
* lint
* Lint fix
Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
* added downmix and DNC plugin
* removed unused functions and code. corrected link address
* renamed the file to match the correct shorthand. updated links and id too
* made adjustments to requirements for processing to only process files with 1 audio stream
* Lint fix
* Run checkPlugins and add recommended changes
Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>
* Tdarr_Plugin_Greg_MP3_FFMPEG_CPU.js
Trying to contribute a frequently mentioned feature, built and tested on a clustered Tdarr 2.00.10 in Debian/Ubuntu.
* trying to use ellint
* lint
* eslint with this projects configuration
* linting complete
* code review feedback incorporation
Made many changes based on the review from https://github.com/supersnellehenk !
* removed invalid Tag:
* trying to pass failed checks
added module exports dependencies, and moved global import. linting is happy after the change too.
* ESLint ignore
* Make some simplifications, added default values
* Update details, fix bug
Co-authored-by: Rick Meijer <rick@marojeri.nl>
Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com>