From fcf56c205a1659fae2147e42feb143c66ce7499f Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 16 Apr 2022 21:32:19 +0200 Subject: [PATCH] Fixing #61 --- src/Kyoo.Core/Tasks/Crawler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Kyoo.Core/Tasks/Crawler.cs b/src/Kyoo.Core/Tasks/Crawler.cs index 791c280f..f4f48f2a 100644 --- a/src/Kyoo.Core/Tasks/Crawler.cs +++ b/src/Kyoo.Core/Tasks/Crawler.cs @@ -138,6 +138,7 @@ namespace Kyoo.Core.Tasks // of the show has already been fetched. List> shows = files .Where(FileExtensions.IsVideo) + .Where(x => !Path.GetFileName(x).StartsWith('.')) // ignore hidden files. .Where(x => episodes.All(y => y.Path != x)) .GroupBy(Path.GetDirectoryName) .ToList();