alxlaxv
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
app/SupportedApps/Sonarr.php
|
|
@ -51,8 +51,10 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats { |
|
|
|
$active = 'active'; |
|
|
|
$html = ' |
|
|
|
<ul class="livestats"> |
|
|
|
<li><span class="title"><i class="fas fa-exclamation-triangle"></i>: '.$this->getMissing().'</span></li> |
|
|
|
<li><span class="title"><i class="fas fa-clock"></i>: '.$this->getQueue().'</span></li> |
|
|
|
<li><span class="title"><i class="fas fa-exclamation-triangle"></i> Missing: '.$this->getMissing().'</span></li> |
|
|
|
</ul> |
|
|
|
<ul class="livestats"> |
|
|
|
<li><span class="title"><i class="fas fa-clock"></i> Activity: '.$this->getQueue().'</span></li> |
|
|
|
</ul> |
|
|
|
'; |
|
|
|
return json_encode(['status' => $active, 'html' => $html]); |
|
|
|