Consider WebP as image

Hardcore Sushi 2022-01-16 11:54:29 +01:00
parent b366fa1877
commit 55883172a1
Signed by: hardcoresushi
GPG Key ID: 007F84120107191E
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class ConstValues {
const val wipe_passes = 2
const val slideshow_delay: Long = 4000
private val fileExtensions = mapOf(
Pair("image", listOf("png", "jpg", "jpeg", "gif", "bmp")),
Pair("image", listOf("png", "jpg", "jpeg", "gif", "webp", "bmp")),
Pair("video", listOf("mp4", "webm", "mkv", "mov")),
Pair("audio", listOf("mp3", "ogg", "m4a", "wav", "flac")),
Pair("text", listOf("txt", "json", "conf", "log", "xml", "java", "kt", "py", "pl", "rb", "go", "c", "h", "cpp", "hpp", "rs", "sh", "bat", "js", "html", "css", "php", "yml", "yaml", "toml", "ini", "md", "properties"))