mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Reorder v2 fix (#283)
* Fix ffmpeg bug (doesn't move image streams) * Ignore reorder if png * Fix lint
This commit is contained in:
parent
e4d0ea0207
commit
3e4176423c
1 changed files with 4 additions and 1 deletions
|
|
@ -113,7 +113,10 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||||
if (String(sortType.getValue(streams[j])).includes(String(items[i]))) {
|
if (String(sortType.getValue(streams[j])).includes(String(items[i]))) {
|
||||||
if (
|
if (
|
||||||
streams[j].codec_long_name
|
streams[j].codec_long_name
|
||||||
&& streams[j].codec_long_name.includes('image')
|
&& (
|
||||||
|
streams[j].codec_long_name.includes('image')
|
||||||
|
|| streams[j].codec_name.includes('png')
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
// do nothing, ffmpeg bug, doesn't move image streams
|
// do nothing, ffmpeg bug, doesn't move image streams
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue