mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Got most of it working!
This commit is contained in:
parent
be50b1eff1
commit
3aa07aa7a6
32 changed files with 577 additions and 75 deletions
|
|
@ -41,7 +41,8 @@ namespace Ombi.Core.Helpers
|
|||
{
|
||||
ShowInfo = await TvApi.ShowLookupByTheTvDbId(id);
|
||||
Results = await MovieDbApi.SearchTv(ShowInfo.name);
|
||||
foreach (TvSearchResult result in Results) {
|
||||
foreach (TvSearchResult result in Results)
|
||||
{
|
||||
if (result.Name.Equals(ShowInfo.name, StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
TheMovieDbRecord = result;
|
||||
|
|
@ -61,7 +62,7 @@ namespace Ombi.Core.Helpers
|
|||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public TvShowRequestBuilder CreateChild(TvRequestViewModel model, string userId)
|
||||
{
|
||||
ChildRequest = new ChildRequests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue