mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 07:22:35 -07:00
work for #32
This commit is contained in:
parent
8bd0464bef
commit
acb39b56f8
13 changed files with 122 additions and 33 deletions
|
@ -503,6 +503,9 @@ namespace PlexRequests.UI.Modules
|
|||
Log.Trace("CoverArt Details:");
|
||||
Log.Trace(img.DumpJson());
|
||||
|
||||
DateTime release;
|
||||
DateTimeHelper.CustomParse(albumInfo.ReleaseEvents?.FirstOrDefault()?.date, out release);
|
||||
|
||||
var model = new RequestedModel
|
||||
{
|
||||
Title = albumInfo.title,
|
||||
|
@ -513,7 +516,10 @@ namespace PlexRequests.UI.Modules
|
|||
ProviderId = 0,
|
||||
RequestedUsers = new List<string>() { Username },
|
||||
Status = albumInfo.status,
|
||||
Issues = IssueState.None
|
||||
Issues = IssueState.None,
|
||||
RequestedDate = DateTime.UtcNow,
|
||||
ReleaseDate = release,
|
||||
Artist = albumInfo.
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue