This commit is contained in:
Zoe Roux 2022-04-16 21:32:19 +02:00
parent a84a9fed85
commit fcf56c205a
No known key found for this signature in database
GPG Key ID: 54F19BB73170955D

View File

@ -138,6 +138,7 @@ namespace Kyoo.Core.Tasks
// of the show has already been fetched.
List<IGrouping<string, string>> 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();