mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-18 11:46:25 -07:00
Migz Plugins
1. Update various plugins to correctly compare against numbers.
This commit is contained in:
parent
864cf41f1d
commit
b13ae8cc29
5 changed files with 23 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue