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