Fixed: Update Movie Libraries in Plex not Series Libraries

This commit is contained in:
Qstick 2019-09-10 19:22:13 -04:00 committed by GitHub
parent 33d012cfc0
commit fd2399d589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ namespace NzbDrone.Core.Notifications.Plex.Server
{
return Json.Deserialize<PlexMediaContainerLegacy>(response)
.Sections
.Where(d => d.Type == "show")
.Where(d => d.Type == "movie")
.Select(s => new PlexSection
{
Id = s.Id,
@ -58,7 +58,7 @@ namespace NzbDrone.Core.Notifications.Plex.Server
return Json.Deserialize<PlexResponse<PlexSectionsContainer>>(response)
.MediaContainer
.Sections
.Where(d => d.Type == "show")
.Where(d => d.Type == "movie")
.ToList();
}