Ignore hidden folders/archives for Local Source chapter list (#1377)

This commit is contained in:
BrutuZ
2025-05-16 13:45:31 -03:00
committed by GitHub
parent 983980d8da
commit ba6687355e

View File

@@ -289,6 +289,7 @@ class LocalSource(
fileSystem
.getFilesInMangaDirectory(manga.url)
// Only keep supported formats
.filterNot { it.name.orEmpty().startsWith('.') }
.filter { it.isDirectory || Archive.isSupported(it) }
.map { chapterFile ->
SChapter.create().apply {