mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Add Tdarr_Plugin_s710_nick_h265_nvenc_4K test
This commit is contained in:
parent
1b3763e9a4
commit
ee61a579c3
2 changed files with 86 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
|||
/* eslint-disable */
|
||||
// tdarrSkipTest
|
||||
const details = () => {
|
||||
return {
|
||||
id: "Tdarr_Plugin_s710_nick_h265_nvenc_4K",
|
||||
|
|
@ -46,6 +45,8 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|||
var jsonString = JSON.stringify(file);
|
||||
response.container = ".mkv";
|
||||
|
||||
console.log(file.ffProbeData.streams[0].codec_name);
|
||||
console.log(file.video_resolution);
|
||||
if (
|
||||
file.ffProbeData.streams[0].codec_name == "hevc" ||
|
||||
file.video_resolution !== "4KUHD"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue