mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix cover art not being generated for m4b export
This commit fixes an issue where cover art was not being generated properly when creating an M4B audiobook. More context can be found in discord: https://discord.com/channels/942908292873723984/981321213882282035/982777444631195681
This commit is contained in:
		
							parent
							
								
									3d821dacb7
								
							
						
					
					
						commit
						3bc3914fd9
					
				| @ -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