Skip to content

Commit

Permalink
#428 Added a message when the we cannot get a TVMaze ID
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Jul 24, 2016
1 parent b14fd36 commit 020cc40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PlexRequests.UI/Modules/SearchModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ private async Task<Response> RequestTvShow(int showId, string seasons)
string fullShowName = $"{showInfo.name} ({firstAir.Year})";
//#if !DEBUG

if (showInfo.externals?.thetvdb == null)
{
return Response.AsJson(new JsonResponseModel { Result = false, Message = "Our TV Provider (TVMaze) doesn't have a TheTVDBId for this item. Please report this to TVMaze. We cannot add the series sorry." });
}

// check if the show has already been requested
var existingRequest = await RequestService.CheckRequestAsync(showId);
Expand Down

2 comments on commit 020cc40

@Magikarplvl4
Copy link
Contributor

@Magikarplvl4 Magikarplvl4 commented on 020cc40 Aug 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tidusjar
Suggestion:

Our TV Provider (TVMaze) doesn't have a TheTVDBId for this TV show.
We cannot add the tv show automatic sorry!
Please report this problem to the server admin for manual add the tv show.

@tidusjar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'll make that change!

Please sign in to comment.