mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-07 10:14:13 -04:00
Fixing #61
This commit is contained in:
parent
a84a9fed85
commit
fcf56c205a
@ -138,6 +138,7 @@ namespace Kyoo.Core.Tasks
|
|||||||
// of the show has already been fetched.
|
// of the show has already been fetched.
|
||||||
List<IGrouping<string, string>> shows = files
|
List<IGrouping<string, string>> shows = files
|
||||||
.Where(FileExtensions.IsVideo)
|
.Where(FileExtensions.IsVideo)
|
||||||
|
.Where(x => !Path.GetFileName(x).StartsWith('.')) // ignore hidden files.
|
||||||
.Where(x => episodes.All(y => y.Path != x))
|
.Where(x => episodes.All(y => y.Path != x))
|
||||||
.GroupBy(Path.GetDirectoryName)
|
.GroupBy(Path.GetDirectoryName)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user