mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-22 00:07:52 +01:00
Merge branch 'advplyr:master' into update_cover_on_merge
This commit is contained in:
commit
9b6fa8fe8c
@ -151,7 +151,7 @@ class AbMergeManager {
|
|||||||
input: coverPath,
|
input: coverPath,
|
||||||
options: ['-f image2pipe']
|
options: ['-f image2pipe']
|
||||||
})
|
})
|
||||||
ffmpegOptions.push('-vf [2:v]crop=trunc(iw/2)*2:trunc(ih/2)*2')
|
ffmpegOptions.push('-c:v copy')
|
||||||
ffmpegOptions.push('-map 2:v')
|
ffmpegOptions.push('-map 2:v')
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -281,4 +281,4 @@ class AbMergeManager {
|
|||||||
this.downloads = this.downloads.filter(d => d.id !== download.id)
|
this.downloads = this.downloads.filter(d => d.id !== download.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
module.exports = AbMergeManager
|
module.exports = AbMergeManager
|
||||||
|
Loading…
Reference in New Issue
Block a user