feat(localanime): Add some more video extensions (#1565)

This commit is contained in:
fakebhai 2024-05-06 01:39:15 +05:30 committed by GitHub
parent 22ffb7eb50
commit 8af46fdeb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ import tachiyomi.core.storage.extension
object ArchiveAnime { object ArchiveAnime {
private val SUPPORTED_ARCHIVE_TYPES = listOf("mp4", "mkv") private val SUPPORTED_ARCHIVE_TYPES = listOf("avi", "flv", "mkv", "mov", "mp4", "webm", "wmv")
fun isSupported(file: UniFile): Boolean = with(file) { fun isSupported(file: UniFile): Boolean = with(file) {
return file.extension in SUPPORTED_ARCHIVE_TYPES return file.extension in SUPPORTED_ARCHIVE_TYPES