From 74c5040a5f6547502767de834a34379327bb664f Mon Sep 17 00:00:00 2001 From: alxlaxv <35723598+alxlaxv@users.noreply.github.com> Date: Thu, 18 Oct 2018 22:57:45 +0200 Subject: [PATCH] Update Sonarr.php --- app/SupportedApps/Sonarr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/SupportedApps/Sonarr.php b/app/SupportedApps/Sonarr.php index f2378a75..2035ffd5 100644 --- a/app/SupportedApps/Sonarr.php +++ b/app/SupportedApps/Sonarr.php @@ -41,7 +41,7 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats { $wanted = json_decode($wantedRes->getBody()); $queue = json_decode($queueRes->getBody()); $wantedCount = $wanted->totalRecords; - $queueCount = $queue->totalRecords; + $queueCount = sizeof($queue); $html = '