mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-30 14:49:49 +02:00
Fix:Set full cover path for extracted covers & use temp fix to update books without a full cover path
This commit is contained in:
parent
d6ae50f89a
commit
57b464c867
3 changed files with 31 additions and 3 deletions
|
@ -36,7 +36,7 @@ class CacheManager {
|
|||
// Write cache
|
||||
await fs.ensureDir(this.CoverCachePath)
|
||||
|
||||
let writtenFile = await resizeImage(audiobook.book.coverFullPath || audiobook.book.cover, path, width, height)
|
||||
let writtenFile = await resizeImage(audiobook.book.coverFullPath, path, width, height)
|
||||
var readStream = fs.createReadStream(writtenFile)
|
||||
readStream.pipe(res)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue