Skip to content

Commit

Permalink
fix(plex): Fixed an issue where in a rare case we couldn't sync the d…
Browse files Browse the repository at this point in the history
…ata #4502
  • Loading branch information
tidusjar authored Feb 10, 2022
1 parent 53bff29 commit 191318d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/Ombi.Api.Plex/Models/Metadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,15 @@ public class Metadata
public string contentRating { get; set; }
public string summary { 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 string thumb { get; set; }
public string art { get; set; }
public string banner { get; set; }
public string theme { get; set; }
//public string duration { get; set; }
//public string originallyAvailableAt { get; set; }
public int leafCount { get; set; }
public int viewedLeafCount { get; set; }
public int childCount { get; set; }
//public long addedAt { get; set; }
//public int updatedAt { get; set; }
public Genre[] Genre { get; set; }
//public Role[] Role { get; set; }
public string primaryExtraKey { get; set; }
public int parentRatingKey { get; set; }
public int grandparentRatingKey { get; set; }
Expand All @@ -47,12 +39,10 @@ public class Metadata
public string chapterSource { get; set; }
public Medium[] Media { get; set; }
public List<PlexGuids> Guid { get; set; } = new List<PlexGuids>();
// public Director[] Director { get; set; }
// public Writer[] Writer { get; set; }
}

public class PlexGuids
{
public string Id { get; set; }
}
}
}

0 comments on commit 191318d

Please # to comment.