Fixed Plex Library Updates

(cherry picked from commit bd70fa54107c225ea08da53183e2be944e730475)

Closes #2757
This commit is contained in:
Mark McDowall 2022-04-11 19:34:02 -07:00 committed by Bogdan
parent 8453531a51
commit 6a2e3c9c84
1 changed files with 7 additions and 1 deletions

View File

@ -6,9 +6,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
public class PlexSectionItem
{
[JsonProperty("ratingKey")]
public int Id { get; set; }
public string Id { get; set; }
public string Title { get; set; }
public string Guid { get; set; }
}
public class PlexSectionResponse
@ -26,5 +27,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
{
[JsonProperty("_children")]
public List<PlexSectionItem> Items { get; set; }
public PlexSectionResponseLegacy()
{
Items = new List<PlexSectionItem>();
}
}
}