fix(plex): Fixed an issue where in a rare case we couldn't sync the data #4502

pull/4457/merge
Jamie 3 years ago committed by GitHub
parent 53bff29795
commit 191318ddad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,23 +12,15 @@ namespace Ombi.Api.Plex.Models
public string contentRating { get; set; } public string contentRating { get; set; }
public string summary { get; set; } public string summary { get; set; }
public int index { get; set; } public int index { get; set; }
public float rating { get; set; }
//public int viewCount { get; set; }
//public int lastViewedAt { get; set; }
public int year { get; set; } public int year { get; set; }
public string thumb { get; set; } public string thumb { get; set; }
public string art { get; set; } public string art { get; set; }
public string banner { get; set; } public string banner { get; set; }
public string theme { get; set; } public string theme { get; set; }
//public string duration { get; set; }
//public string originallyAvailableAt { get; set; }
public int leafCount { get; set; } public int leafCount { get; set; }
public int viewedLeafCount { get; set; } public int viewedLeafCount { get; set; }
public int childCount { get; set; } public int childCount { get; set; }
//public long addedAt { get; set; }
//public int updatedAt { get; set; }
public Genre[] Genre { get; set; } public Genre[] Genre { get; set; }
//public Role[] Role { get; set; }
public string primaryExtraKey { get; set; } public string primaryExtraKey { get; set; }
public int parentRatingKey { get; set; } public int parentRatingKey { get; set; }
public int grandparentRatingKey { get; set; } public int grandparentRatingKey { get; set; }
@ -47,12 +39,10 @@ namespace Ombi.Api.Plex.Models
public string chapterSource { get; set; } public string chapterSource { get; set; }
public Medium[] Media { get; set; } public Medium[] Media { get; set; }
public List<PlexGuids> Guid { get; set; } = new List<PlexGuids>(); public List<PlexGuids> Guid { get; set; } = new List<PlexGuids>();
// public Director[] Director { get; set; }
// public Writer[] Writer { get; set; }
} }
public class PlexGuids public class PlexGuids
{ {
public string Id { get; set; } public string Id { get; set; }
} }
} }

Loading…
Cancel
Save