mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 04:59:35 -07:00
Fixed Plex Library Updates
(cherry picked from commit bd70fa54107c225ea08da53183e2be944e730475) Closes #2757
This commit is contained in:
parent
8453531a51
commit
6a2e3c9c84
1 changed files with 7 additions and 1 deletions
|
@ -6,9 +6,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||||
public class PlexSectionItem
|
public class PlexSectionItem
|
||||||
{
|
{
|
||||||
[JsonProperty("ratingKey")]
|
[JsonProperty("ratingKey")]
|
||||||
public int Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
|
public string Guid { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PlexSectionResponse
|
public class PlexSectionResponse
|
||||||
|
@ -26,5 +27,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||||
{
|
{
|
||||||
[JsonProperty("_children")]
|
[JsonProperty("_children")]
|
||||||
public List<PlexSectionItem> Items { get; set; }
|
public List<PlexSectionItem> Items { get; set; }
|
||||||
|
|
||||||
|
public PlexSectionResponseLegacy()
|
||||||
|
{
|
||||||
|
Items = new List<PlexSectionItem>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue