From 020cc40418e9689e780bea9ead51a3e5271f74d1 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sun, 24 Jul 2016 18:13:04 +0100 Subject: [PATCH] #428 Added a message when the we cannot get a TVMaze ID --- PlexRequests.UI/Modules/SearchModule.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PlexRequests.UI/Modules/SearchModule.cs b/PlexRequests.UI/Modules/SearchModule.cs index 8fab31ea0..eb6849f31 100644 --- a/PlexRequests.UI/Modules/SearchModule.cs +++ b/PlexRequests.UI/Modules/SearchModule.cs @@ -543,6 +543,10 @@ private async Task 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);