|
|
@ -55,12 +55,20 @@ namespace PlexRequests.Api
|
|
|
|
Log.Trace("CP movie Add result count {0}", obj.Count);
|
|
|
|
Log.Trace("CP movie Add result count {0}", obj.Count);
|
|
|
|
|
|
|
|
|
|
|
|
if (obj.Count > 0)
|
|
|
|
if (obj.Count > 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Log.Trace("CP movie obj[\"success\"] = {0}", obj["success"]);
|
|
|
|
Log.Trace("CP movie obj[\"success\"] = {0}", obj["success"]);
|
|
|
|
var result = (bool)obj["success"];
|
|
|
|
var result = (bool)obj["success"];
|
|
|
|
Log.Trace("CP movie Add result {0}", result);
|
|
|
|
Log.Trace("CP movie Add result {0}", result);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Log.Fatal(e);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|