mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 18:45:53 -07:00
Readded frame rate check
This commit is contained in:
parent
36e21d1b6a
commit
8d61fbda92
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ function details() {
|
||||||
infoLog: '',
|
infoLog: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
if (file.ffProbeData.streams.filter((x) => x.codec_type === 'video').length) {
|
if (file.ffProbeData.streams.filter((x) => x.codec_type === 'video' && x.avg_frame_rate !== '0/0').length) {
|
||||||
response.infoLog += '☒File contains video!\n';
|
response.infoLog += '☒File contains video!\n';
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue