mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-31 23:57:15 +02:00
Update:Support for comic files with webp images https://github.com/advplyr/audiobookshelf/issues/2792
This commit is contained in:
@@ -349,7 +349,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
parseFilenames(filenames) {
|
parseFilenames(filenames) {
|
||||||
const acceptableImages = ['.jpeg', '.jpg', '.png']
|
const acceptableImages = ['.jpeg', '.jpg', '.png', '.webp']
|
||||||
var imageFiles = filenames.filter((f) => {
|
var imageFiles = filenames.filter((f) => {
|
||||||
return acceptableImages.includes((Path.extname(f) || '').toLowerCase())
|
return acceptableImages.includes((Path.extname(f) || '').toLowerCase())
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user