mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-18 03:48:55 +01:00
Merge pull request #681 from jmt-gh/m4b_no_coverart
Fix cover art not being generated for M4B export
This commit is contained in:
commit
788d867ec3
@ -151,7 +151,7 @@ class AbMergeManager {
|
||||
input: coverPath,
|
||||
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')
|
||||
}
|
||||
|
||||
@ -281,4 +281,4 @@ class AbMergeManager {
|
||||
this.downloads = this.downloads.filter(d => d.id !== download.id)
|
||||
}
|
||||
}
|
||||
module.exports = AbMergeManager
|
||||
module.exports = AbMergeManager
|
||||
|
Loading…
Reference in New Issue
Block a user