mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 23:48:15 -07:00
lint
This commit is contained in:
parent
0b3a53bfec
commit
c208ace5f2
1 changed files with 5 additions and 5 deletions
|
|
@ -34,7 +34,7 @@
|
|||
// If the source video is less than this rate the script will either:
|
||||
// Copy the existing stream, if the codec is hevc
|
||||
// Transcode the stream to hevc using 80% of the original streams bitrate
|
||||
// It could probably be less but if the source is of low bitrate we don't want to compromise too much on the transcode
|
||||
// It could probably be less but if the source is of low bitrate we don<EFBFBD>t want to compromise too much on the transcode
|
||||
//
|
||||
// If the source media bitrate is close, within 10%, of the target bitrate and the codec is hevc, it will copy instead of transcode to preserve quality
|
||||
//
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
// If the source audio is less than this rate the script will either:
|
||||
// Copy the existing stream, if the codec is aac
|
||||
// Transcode the stream to aac using 100% of the original streams bitrate
|
||||
// It could probably be less but if the source is of low bitrate but, we don't want to compromise too much on the transcode
|
||||
// It could probably be less but if the source is of low bitrate but, we don<EFBFBD>t want to compromise too much on the transcode
|
||||
//
|
||||
// Subtitles:
|
||||
// All are removed?? (TODO: ensure this is correct and mention the flag to keep them if desired)
|
||||
|
|
@ -761,9 +761,9 @@ function findMediaInfoItem(file, index) {
|
|||
currMIOrder = file.mediaInfo.track[i].ID - 1;
|
||||
}
|
||||
|
||||
if (currMIOrder == index|| currMIOrder == "0-" + index) {
|
||||
return i;
|
||||
}
|
||||
if (currMIOrder == index|| currMIOrder == "0-" + index) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue