Browse Source
Merge pull request #4 from ullbergm/app-Booksonic
Added Booksonic support.
remotes/ullbergm/master
ullbergm
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
14 additions and
0 deletions
-
app/Item.php
-
app/SupportedApps/Booksonic.php
-
readme.md
-
BIN
storage/app/public/supportedapps/booksonic.png
|
@ -29,6 +29,7 @@ class Item extends Model |
|
|
'AirSonic' => \App\SupportedApps\AirSonic::class, |
|
|
'AirSonic' => \App\SupportedApps\AirSonic::class, |
|
|
'Cardigann' => \App\SupportedApps\Cardigann::class, |
|
|
'Cardigann' => \App\SupportedApps\Cardigann::class, |
|
|
'CouchPotato' => \App\SupportedApps\CouchPotato::class, |
|
|
'CouchPotato' => \App\SupportedApps\CouchPotato::class, |
|
|
|
|
|
'Booksonic' => \App\SupportedApps\Booksonic::class, |
|
|
'Deluge' => \App\SupportedApps\Deluge::class, |
|
|
'Deluge' => \App\SupportedApps\Deluge::class, |
|
|
'Dokuwiki' => \App\SupportedApps\Dokuwiki::class, |
|
|
'Dokuwiki' => \App\SupportedApps\Dokuwiki::class, |
|
|
'Duplicati' => \App\SupportedApps\Duplicati::class, |
|
|
'Duplicati' => \App\SupportedApps\Duplicati::class, |
|
|
|
@ -0,0 +1,12 @@ |
|
|
|
|
|
<?php namespace App\SupportedApps; |
|
|
|
|
|
|
|
|
|
|
|
class Booksonic implements Contracts\Applications { |
|
|
|
|
|
public function defaultColour() |
|
|
|
|
|
{ |
|
|
|
|
|
return '#58a'; |
|
|
|
|
|
} |
|
|
|
|
|
public function icon() |
|
|
|
|
|
{ |
|
|
|
|
|
return 'supportedapps/booksonic.png'; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
@ -42,6 +42,7 @@ Supported applications are recognized by the title of the application as entered |
|
|
|
|
|
|
|
|
**Foundation** |
|
|
**Foundation** |
|
|
- AirSonic |
|
|
- AirSonic |
|
|
|
|
|
- Booksonic |
|
|
- Cardigann |
|
|
- Cardigann |
|
|
- Deluge |
|
|
- Deluge |
|
|
- DokuWiki |
|
|
- DokuWiki |
|
|
Width:
|
Height:
|
Size: 39 KiB
|