From c0c72e40e472bdcecc1b6a3747b5dd9d53548d04 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 5 Apr 2018 23:00:58 -0400 Subject: [PATCH] Add more missing streaming logos --- public/images/streaming-logos/amazon.svg | 3 +++ public/images/streaming-logos/tubitv.svg | 3 +++ src/API/Kitsu.php | 14 ++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 public/images/streaming-logos/amazon.svg create mode 100644 public/images/streaming-logos/tubitv.svg diff --git a/public/images/streaming-logos/amazon.svg b/public/images/streaming-logos/amazon.svg new file mode 100644 index 00000000..03e1093d --- /dev/null +++ b/public/images/streaming-logos/amazon.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/streaming-logos/tubitv.svg b/public/images/streaming-logos/tubitv.svg new file mode 100644 index 00000000..6f6fbaec --- /dev/null +++ b/public/images/streaming-logos/tubitv.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/API/Kitsu.php b/src/API/Kitsu.php index 6a0cabfd..3b485064 100644 --- a/src/API/Kitsu.php +++ b/src/API/Kitsu.php @@ -68,6 +68,13 @@ class Kitsu { { switch($hostname) { + case 'www.amazon.com': + return [ + 'name' => 'Amazon Prime', + 'link' => TRUE, + 'image' => 'streaming-logos/amazon.svg', + ]; + case 'www.crunchyroll.com': return [ 'name' => 'Crunchyroll', @@ -103,6 +110,13 @@ class Kitsu { 'image' => 'streaming-logos/hulu.svg', ]; + case 'tubitv.com': + return [ + 'name' => 'TubiTV', + 'link' => TRUE, + 'image' => 'streaming-logos/tubitv.svg', + ]; + case 'www.viewster.com': return [ 'name' => 'Viewster',