mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
Fixed #417
This commit is contained in:
parent
5a96bd2a15
commit
f9af1dc12b
2 changed files with 7 additions and 7 deletions
|
@ -67,16 +67,13 @@ namespace PlexRequests.Api
|
|||
TimeSpan.FromSeconds(5),
|
||||
TimeSpan.FromSeconds(10)},
|
||||
(exception, timespan) => Log.Error(exception, "Exception when calling AddMovie for CP, Retrying {0}", timespan));
|
||||
|
||||
Log.Trace("CP movie Add result count {0}", obj.Count);
|
||||
|
||||
|
||||
if (obj.Count > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
Log.Trace("CP movie obj[\"success\"] = {0}", obj["success"]);
|
||||
var result = (bool)obj["success"];
|
||||
Log.Trace("CP movie Add result {0}", result);
|
||||
return result;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -96,7 +93,6 @@ namespace PlexRequests.Api
|
|||
/// <returns></returns>
|
||||
public CouchPotatoStatus GetStatus(Uri url, string apiKey)
|
||||
{
|
||||
Log.Trace("Getting CP Status, ApiKey = {0}", apiKey);
|
||||
var request = new RestRequest
|
||||
{
|
||||
Resource = "api/{apikey}/app.available/",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue