mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
fixed some db issues and added a preview
This commit is contained in:
parent
f1b33cf794
commit
7404fd449a
6 changed files with 14 additions and 12 deletions
|
@ -64,7 +64,9 @@ namespace RequestPlex.Core
|
|||
PosterPath = "http://image.tmdb.org/t/p/w150/" + movieInfo.PosterPath,
|
||||
Title = movieInfo.Title,
|
||||
ReleaseDate = movieInfo.ReleaseDate ?? DateTime.MinValue,
|
||||
Status = movieInfo.Status
|
||||
Status = movieInfo.Status,
|
||||
RequestedDate = DateTime.Now,
|
||||
Approved = false
|
||||
};
|
||||
}
|
||||
else
|
||||
|
@ -79,7 +81,9 @@ namespace RequestPlex.Core
|
|||
PosterPath = "http://image.tmdb.org/t/p/w150/" + showInfo.PosterPath,
|
||||
Title = showInfo.Name,
|
||||
ReleaseDate = showInfo.FirstAirDate ?? DateTime.MinValue,
|
||||
Status = showInfo.Status
|
||||
Status = showInfo.Status,
|
||||
RequestedDate = DateTime.Now,
|
||||
Approved = false
|
||||
};
|
||||
}
|
||||
var db = new DbConfiguration(new SqliteFactory());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue