|
|
@ -44,6 +44,7 @@ namespace Ombi.Store.Entities
|
|
|
|
public string Url { get; set; }
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public ICollection<PlexEpisode> Episodes { get; set; }
|
|
|
|
public ICollection<PlexEpisode> Episodes { get; set; }
|
|
|
|
|
|
|
|
public ICollection<PlexSeasonsContent> Seasons { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Plex's internal ID for this item
|
|
|
|
/// Plex's internal ID for this item
|
|
|
@ -62,6 +63,15 @@ namespace Ombi.Store.Entities
|
|
|
|
public bool HasTheMovieDb => !string.IsNullOrEmpty(TheMovieDbId);
|
|
|
|
public bool HasTheMovieDb => !string.IsNullOrEmpty(TheMovieDbId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("PlexSeasonsContent")]
|
|
|
|
|
|
|
|
public class PlexSeasonsContent : Entity
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public int PlexContentId { get; set; }
|
|
|
|
|
|
|
|
public int SeasonNumber { get; set; }
|
|
|
|
|
|
|
|
public int SeasonKey { get; set; }
|
|
|
|
|
|
|
|
public int ParentKey { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum PlexMediaTypeEntity
|
|
|
|
public enum PlexMediaTypeEntity
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Movie = 0,
|
|
|
|
Movie = 0,
|
|
|
|