mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 17:55:55 -07:00
Remove redundant mapping
This commit is contained in:
parent
cc2fc0c425
commit
c32dc46f1f
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ function plugin(file) {
|
||||||
|
|
||||||
if (hasOnlyAC3TrackCommentaries && hasSubs) {
|
if (hasOnlyAC3TrackCommentaries && hasSubs) {
|
||||||
response.infoLog += "☒File has no AC3 main track (has AC3 commentary) and has subs \n"
|
response.infoLog += "☒File has no AC3 main track (has AC3 commentary) and has subs \n"
|
||||||
response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels
|
response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels
|
||||||
response.reQueueAfter = true;
|
response.reQueueAfter = true;
|
||||||
response.processFile = true;
|
response.processFile = true;
|
||||||
return response
|
return response
|
||||||
|
|
@ -144,7 +144,7 @@ function plugin(file) {
|
||||||
|
|
||||||
if (hasNoAC3Track && hasSubs) {
|
if (hasNoAC3Track && hasSubs) {
|
||||||
response.infoLog += "☒File has no AC3 main track and has subs \n"
|
response.infoLog += "☒File has no AC3 main track and has subs \n"
|
||||||
response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels
|
response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels
|
||||||
response.reQueueAfter = true;
|
response.reQueueAfter = true;
|
||||||
response.processFile = true;
|
response.processFile = true;
|
||||||
return response
|
return response
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue