mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -07:00
Merge pull request #107 from jeff47/patch-3
Update Tdarr_Plugin_A47j_FFMPEG_NVENC_HEVC_Video_Only.js
This commit is contained in:
commit
c23066ff4a
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ function plugin(file,librarySettings,inputs,otherArguments) {
|
||||||
// -------------------------------- METADATA UPDATES --------------------------------
|
// -------------------------------- METADATA UPDATES --------------------------------
|
||||||
// If there is no _STATISTICS_WRITING_DATE_UTC-eng field, then we need to run mkvpropedit and
|
// If there is no _STATISTICS_WRITING_DATE_UTC-eng field, then we need to run mkvpropedit and
|
||||||
// rerun mediainfo to load the stats.
|
// rerun mediainfo to load the stats.
|
||||||
if (file.ffProbeData.streams[0].tags["_STATISTICS_WRITING_DATE_UTC-eng"] === undefined ) {
|
if (file.ffProbeData.streams[0].tags === undefined || file.ffProbeData.streams[0].tags["_STATISTICS_WRITING_DATE_UTC-eng"] === undefined ) {
|
||||||
response.infoLog += "☑Track statistics are missing.\n";
|
response.infoLog += "☑Track statistics are missing.\n";
|
||||||
updateTrackStats(file);
|
updateTrackStats(file);
|
||||||
getMediaInfo(file);
|
getMediaInfo(file);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue