mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-06 06:56:27 +01: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:
1 parent
d6ae50f89a
commit
57b464c867
3 files changed
+31
-3
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user