mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Fix lint length error
This commit is contained in:
parent
8793962a69
commit
2a76f29f81
1 changed files with 6 additions and 1 deletions
|
|
@ -137,7 +137,12 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|||
}
|
||||
|
||||
// If Container .ts|.avi|.mpg|.mpeg set genpts to fix unknown timestamp
|
||||
if (file.container.toLowerCase() === 'ts' || file.container.toLowerCase() === 'avi' || file.container.toLowerCase() === 'mpg' || file.container.toLowerCase() === 'mpeg') {
|
||||
if (
|
||||
file.container.toLowerCase() === 'ts'
|
||||
|| file.container.toLowerCase() === 'avi'
|
||||
|| file.container.toLowerCase() === 'mpg'
|
||||
|| file.container.toLowerCase() === 'mpeg'
|
||||
) {
|
||||
genpts = '-fflags +genpts';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue