Update streaming link handling, and add daisuki and viewster

This commit is contained in:
Timothy Warren 2017-03-22 12:29:07 -04:00
parent 1fd2dd1146
commit 6f643454ef

View File

@ -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: