mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
done #679
This commit is contained in:
parent
c2fe46f741
commit
39888a4b94
16 changed files with 312 additions and 275 deletions
|
@ -38,12 +38,11 @@ namespace PlexRequests.Store.Models.Plex
|
|||
public string ProviderId { get; set; }
|
||||
public PlexMediaType Type { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string PlexId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Only used for TV Shows
|
||||
/// </summary>
|
||||
public int[] Seasons { get; set; }
|
||||
public byte[] Seasons { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Only used for Albums
|
||||
|
|
|
@ -28,8 +28,8 @@ namespace PlexRequests.Store.Models.Plex
|
|||
{
|
||||
public enum PlexMediaType
|
||||
{
|
||||
Movie,
|
||||
Show,
|
||||
Artist
|
||||
Movie = 0,
|
||||
Show = 1,
|
||||
Artist = 2
|
||||
}
|
||||
}
|
|
@ -154,7 +154,6 @@ CREATE TABLE IF NOT EXISTS PlexContent
|
|||
ReleaseYear VARCHAR(100) NOT NULL,
|
||||
ProviderId VARCHAR(100) NOT NULL,
|
||||
Url VARCHAR(100) NOT NULL,
|
||||
PlexId VARCHAR(100) NOT NULL,
|
||||
Artist VARCHAR(100),
|
||||
Seasons BLOB,
|
||||
Type INTEGER NOT NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue