mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
update plex movie libraries instead of series
This commit is contained in:
parent
b7f72c6259
commit
8bc42c76e4
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ public List<PlexSection> GetTvSections(PlexServerSettings settings)
|
|||
{
|
||||
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 @@ public List<PlexSection> GetTvSections(PlexServerSettings settings)
|
|||
return Json.Deserialize<PlexResponse<PlexSectionsContainer>>(response.Content)
|
||||
.MediaContainer
|
||||
.Sections
|
||||
.Where(d => d.Type == "show")
|
||||
.Where(d => d.Type == "movie")
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue