Merge pull request #163 from Radarr/patch/fix-plex-notifs

update plex movie libraries instead of series
This commit is contained in:
Devin Buhl 2017-01-11 12:35:01 -05:00 committed by GitHub
commit 99012d8a40
1 changed files with 2 additions and 2 deletions

View File

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