mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 00:34:37 +02:00
update plex movie libraries instead of series
This commit is contained in:
@@ -48,7 +48,7 @@ namespace NzbDrone.Core.Notifications.Plex
|
|||||||
{
|
{
|
||||||
return Json.Deserialize<PlexMediaContainerLegacy>(response.Content)
|
return Json.Deserialize<PlexMediaContainerLegacy>(response.Content)
|
||||||
.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,
|
||||||
@@ -62,7 +62,7 @@ namespace NzbDrone.Core.Notifications.Plex
|
|||||||
return Json.Deserialize<PlexResponse<PlexSectionsContainer>>(response.Content)
|
return Json.Deserialize<PlexResponse<PlexSectionsContainer>>(response.Content)
|
||||||
.MediaContainer
|
.MediaContainer
|
||||||
.Sections
|
.Sections
|
||||||
.Where(d => d.Type == "show")
|
.Where(d => d.Type == "movie")
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user