Migz Plugins

1. Update various plugins to correctly compare against numbers.
This commit is contained in:
Migz93 2020-12-15 11:13:47 +00:00
parent 864cf41f1d
commit b13ae8cc29
5 changed files with 23 additions and 23 deletions

View file

@ -124,7 +124,7 @@ function plugin(file, librarySettings, inputs) {
// If targetBitrate comes out as 0 then something has gone wrong and bitrates could not be calculated.
// Cancel plugin completely.
if (targetBitrate === '0') {
if (targetBitrate === 0) {
response.processFile = false;
response.infoLog += 'Target bitrate could not be calculated. Skipping this plugin. \n';
return response;