mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
poc
This commit is contained in:
parent
e6751903a7
commit
878adc5feb
11 changed files with 245 additions and 51 deletions
|
@ -24,6 +24,8 @@ namespace Ombi.Core.Engine
|
|||
private readonly IEmbyContentRepository _emby;
|
||||
private readonly IRepository<RecentlyAddedLog> _recentlyAddedLog;
|
||||
|
||||
|
||||
|
||||
public IEnumerable<RecentlyAddedMovieModel> GetRecentlyAddedMovies(DateTime from, DateTime to)
|
||||
{
|
||||
var plexMovies = _plex.GetAll().Where(x => x.Type == PlexMediaTypeEntity.Movie && x.AddedAt > from && x.AddedAt < to);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue