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 74602f60fa
commit a259ea7b18

View File

@ -73,6 +73,13 @@ class Kitsu {
'image' => 'streaming-logos/crunchyroll.svg', 'image' => 'streaming-logos/crunchyroll.svg',
]; ];
case 'www.daisuki.net':
return [
'name' => 'Daisuki',
'link' => TRUE,
'image' => 'streaming-logos/daisuki.svg'
];
case 'www.funimation.com': case 'www.funimation.com':
return [ return [
'name' => 'Funimation', 'name' => 'Funimation',
@ -87,6 +94,13 @@ class Kitsu {
'image' => 'streaming-logos/hulu.svg', '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, // Default to Netflix, because the API links are broken,
// and there's no other real identifier for Netflix // and there's no other real identifier for Netflix
default: default: