mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Fixed: Error message when adding a Plex server without a TV library
This commit is contained in:
parent
6dcb7768a9
commit
416e9abca5
@ -11,6 +11,11 @@ public class PlexSectionLocation
|
|||||||
|
|
||||||
public class PlexSection
|
public class PlexSection
|
||||||
{
|
{
|
||||||
|
public PlexSection()
|
||||||
|
{
|
||||||
|
Locations = new List<PlexSectionLocation>();
|
||||||
|
}
|
||||||
|
|
||||||
[JsonProperty("key")]
|
[JsonProperty("key")]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
@ -23,6 +28,11 @@ public class PlexSection
|
|||||||
|
|
||||||
public class PlexSectionsContainer
|
public class PlexSectionsContainer
|
||||||
{
|
{
|
||||||
|
public PlexSectionsContainer()
|
||||||
|
{
|
||||||
|
Sections = new List<PlexSection>();
|
||||||
|
}
|
||||||
|
|
||||||
[JsonProperty("Directory")]
|
[JsonProperty("Directory")]
|
||||||
public List<PlexSection> Sections { get; set; }
|
public List<PlexSection> Sections { get; set; }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user