Renames based on codec by reading the codec from thes file.
This is done for Video and audio and taken from the first video or audio stream.
it also takes care of any addtional files in the folder so they wont gget deleted by Radarr or Sonarr,
after the transcode cause of not matching file names.
* 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>