|
|
|
@ -163,6 +163,7 @@ namespace PlexRequests.UI.Modules
|
|
|
|
|
ReleaseDate = movie.ReleaseDate,
|
|
|
|
|
ReleaseDateTicks = movie.ReleaseDate.Ticks,
|
|
|
|
|
RequestedDate = movie.RequestedDate,
|
|
|
|
|
Released = DateTime.Now > movie.ReleaseDate,
|
|
|
|
|
RequestedDateTicks = DateTimeHelper.OffsetUTCDateTime(movie.RequestedDate, DateTimeOffset).Ticks,
|
|
|
|
|
Approved = movie.Available || movie.Approved,
|
|
|
|
|
Title = movie.Title,
|
|
|
|
@ -246,6 +247,7 @@ namespace PlexRequests.UI.Modules
|
|
|
|
|
ReleaseDateTicks = tv.ReleaseDate.Ticks,
|
|
|
|
|
RequestedDate = tv.RequestedDate,
|
|
|
|
|
RequestedDateTicks = DateTimeHelper.OffsetUTCDateTime(tv.RequestedDate, DateTimeOffset).Ticks,
|
|
|
|
|
Released = DateTime.Now > tv.ReleaseDate,
|
|
|
|
|
Approved = tv.Available || tv.Approved,
|
|
|
|
|
Title = tv.Title,
|
|
|
|
|
Overview = tv.Overview,
|
|
|
|
@ -288,6 +290,7 @@ namespace PlexRequests.UI.Modules
|
|
|
|
|
ReleaseDateTicks = album.ReleaseDate.Ticks,
|
|
|
|
|
RequestedDate = album.RequestedDate,
|
|
|
|
|
RequestedDateTicks = DateTimeHelper.OffsetUTCDateTime(album.RequestedDate, DateTimeOffset).Ticks,
|
|
|
|
|
Released = DateTime.Now > album.ReleaseDate,
|
|
|
|
|
Approved = album.Available || album.Approved,
|
|
|
|
|
Title = album.Title,
|
|
|
|
|
Overview = album.Overview,
|
|
|
|
@ -411,4 +414,4 @@ namespace PlexRequests.UI.Modules
|
|
|
|
|
: new JsonResponseModel { Result = false, Message = "Could not update the notes, please try again or check the logs" });
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|