mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 00:06:05 -07:00
!wip
This commit is contained in:
parent
cdec1f4f27
commit
41fe43b51d
2 changed files with 2 additions and 14 deletions
|
@ -47,17 +47,6 @@ namespace Ombi.Core.Engine
|
|||
|
||||
private async Task<MovieFullInfoViewModel> ProcessSingleMovie(FullMovieInfo movie)
|
||||
{
|
||||
var retVal = new MovieFullInfoViewModel();
|
||||
|
||||
retVal.Id = movie.Id; // TheMovieDbId
|
||||
retVal.ImdbId = movie.ImdbId;
|
||||
retVal.ReleaseDates = new ReleaseDatesDto
|
||||
{
|
||||
Results = new List<ReleaseResultsDto>()
|
||||
};
|
||||
|
||||
retVal.TheMovieDbId = movie.Id.ToString();
|
||||
|
||||
var viewMovie = Mapper.Map<SearchMovieViewModel>(movie);
|
||||
await RunSearchRules(viewMovie);
|
||||
|
||||
|
@ -76,7 +65,7 @@ namespace Ombi.Core.Engine
|
|||
return mapped;
|
||||
}
|
||||
|
||||
private async Task CheckForSubscription(SearchMovieViewModel viewModel)
|
||||
private async Task CheckForSubscription(SearchViewModel viewModel)
|
||||
{
|
||||
// Check if this user requested it
|
||||
var user = await GetUser();
|
||||
|
|
|
@ -78,8 +78,7 @@ namespace Ombi.Mapping.Profiles
|
|||
CreateMap<ProductionCompanies, Production_Companies>().ReverseMap();
|
||||
CreateMap<VideoResults, Videos>().ReverseMap();
|
||||
CreateMap<CreditsViewModel, Credits>().ReverseMap();
|
||||
CreateMap<MovieFullInfoViewModel, FullMovieInfo>()
|
||||
.ForMember(x => x.)
|
||||
CreateMap<MovieFullInfoViewModel, FullMovieInfo>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue