mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 19:04:39 -05:00
Ignore hidden folders/archives for Local Source chapter list (#1377)
This commit is contained in:
@@ -289,6 +289,7 @@ class LocalSource(
|
|||||||
fileSystem
|
fileSystem
|
||||||
.getFilesInMangaDirectory(manga.url)
|
.getFilesInMangaDirectory(manga.url)
|
||||||
// Only keep supported formats
|
// Only keep supported formats
|
||||||
|
.filterNot { it.name.orEmpty().startsWith('.') }
|
||||||
.filter { it.isDirectory || Archive.isSupported(it) }
|
.filter { it.isDirectory || Archive.isSupported(it) }
|
||||||
.map { chapterFile ->
|
.map { chapterFile ->
|
||||||
SChapter.create().apply {
|
SChapter.create().apply {
|
||||||
|
|||||||
Reference in New Issue
Block a user