only show "movie" and "show" libraries from Plex (#179)

This commit is contained in:
Jason Dove
2021-04-25 04:24:38 -05:00
committed by GitHub
parent 59d75fe08f
commit fedc18f7db
@@ -32,6 +32,7 @@ namespace ErsatzTV.Infrastructure.Plex
await service.GetLibraries(token.AuthToken).Map(r => r.MediaContainer.Directory);
return directory
// .Filter(l => l.Hidden == 0)
.Filter(l => l.Type.ToLowerInvariant() is "movie" or "show")
.Map(Project)
.Somes()
.ToList();