From 6f643454ef527a401f5e1016a233f1652290e4dd Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 22 Mar 2017 12:29:07 -0400 Subject: [PATCH] Update streaming link handling, and add daisuki and viewster --- src/API/Kitsu.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/API/Kitsu.php b/src/API/Kitsu.php index cc9ea7ca..6716339b 100644 --- a/src/API/Kitsu.php +++ b/src/API/Kitsu.php @@ -73,6 +73,13 @@ class Kitsu { 'image' => 'streaming-logos/crunchyroll.svg', ]; + case 'www.daisuki.net': + return [ + 'name' => 'Daisuki', + 'link' => TRUE, + 'image' => 'streaming-logos/daisuki.svg' + ]; + case 'www.funimation.com': return [ 'name' => 'Funimation', @@ -87,6 +94,13 @@ class Kitsu { 'image' => 'streaming-logos/hulu.svg', ]; + case 'www.viewster.com': + return [ + 'name' => 'Viewster', + 'link' => TRUE, + 'image' => 'streaming-logos/viewster.svg' + ]; + // Default to Netflix, because the API links are broken, // and there's no other real identifier for Netflix default: