Update streaming link handling, and add daisuki and viewster
This commit is contained in:
parent
1fd2dd1146
commit
6f643454ef
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user