mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
#428 Added a message when the we cannot get a TVMaze ID
This commit is contained in:
parent
b14fd36ecd
commit
020cc40418
1 changed files with 4 additions and 0 deletions
|
@ -543,6 +543,10 @@ namespace PlexRequests.UI.Modules
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue