returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{movieInfo.Title} is already in Plex!"});
}
}
catch(ApplicationSettingsException)
{
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{movieInfo.Title} is already in Plex!"});
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"We could not check if {movieInfo.Title} is in Plex, are you sure it's correctly setup?" });
if(CheckIfTitleExistsInPlex(showInfo.name,showInfo.premiered?.Substring(0,4)))// Take only the year Format = 2014-01-01
try
{
if(CheckIfTitleExistsInPlex(showInfo.name,showInfo.premiered?.Substring(0,4)))// Take only the year Format = 2014-01-01
{
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{showInfo.name} is already in Plex!"});
}
}
catch(ApplicationSettingsException)
{
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{showInfo.name} is already in Plex!"});
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"We could not check if {showInfo.name} is in Plex, are you sure it's correctly setup?" });