mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Type fix (#212)
This commit is contained in:
parent
c01d5db9e5
commit
da397edeb3
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|||
audioIdx += 1;
|
||||
|
||||
// Check if audio track is 2 channel.
|
||||
if (file.ffProbeData.streams[i].channels === '2') {
|
||||
if (file.ffProbeData.streams[i].channels === 2) {
|
||||
// Check if audio6Idx or audio8Idx do NOT equal 0.
|
||||
// If so then it means a 6 or 8 channel audio track has already appeared before the 2 channel audio track
|
||||
// So file needs to be organized.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue