From aca0f66db251e773db2081e076b93dbbebf36792 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 9 Sep 2020 13:25:27 -0400 Subject: [PATCH] Update streaming logs, remove genres from anime list view --- app/views/anime/list.php | 5 ----- public/images/streaming-logos/amazon.svg | 2 +- public/images/streaming-logos/vrv.svg | 1 + src/AnimeClient/API/Kitsu/Queries/GetLibrary.graphql | 5 ----- src/AnimeClient/Kitsu.php | 5 +++++ 5 files changed, 7 insertions(+), 11 deletions(-) create mode 100644 public/images/streaming-logos/vrv.svg diff --git a/app/views/anime/list.php b/app/views/anime/list.php index ae4a5613..17373e3b 100644 --- a/app/views/anime/list.php +++ b/app/views/anime/list.php @@ -31,7 +31,6 @@ Rated Attributes Notes - Genres @@ -103,10 +102,6 @@

html($item['notes']) ?>

- - genres) ?> - genres) ?> - diff --git a/public/images/streaming-logos/amazon.svg b/public/images/streaming-logos/amazon.svg index 5e409515..776690f6 100644 --- a/public/images/streaming-logos/amazon.svg +++ b/public/images/streaming-logos/amazon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/public/images/streaming-logos/vrv.svg b/public/images/streaming-logos/vrv.svg new file mode 100644 index 00000000..67686771 --- /dev/null +++ b/public/images/streaming-logos/vrv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/AnimeClient/API/Kitsu/Queries/GetLibrary.graphql b/src/AnimeClient/API/Kitsu/Queries/GetLibrary.graphql index 6f47ed52..32141f5f 100644 --- a/src/AnimeClient/API/Kitsu/Queries/GetLibrary.graphql +++ b/src/AnimeClient/API/Kitsu/Queries/GetLibrary.graphql @@ -29,11 +29,6 @@ query ( id ageRating ageRatingGuide - categories(first: 100) { - nodes { - title - } - } mappings(first: 10) { nodes { externalId diff --git a/src/AnimeClient/Kitsu.php b/src/AnimeClient/Kitsu.php index c2f7d261..663a7be0 100644 --- a/src/AnimeClient/Kitsu.php +++ b/src/AnimeClient/Kitsu.php @@ -413,6 +413,11 @@ final class Kitsu { 'link' => TRUE, 'image' => 'streaming-logos/viewster.svg' ], + 'vrv.co' => [ + 'name' => 'VRV', + 'link' => TRUE, + 'image' => 'streaming-logos/vrv.svg', + ] ]; if (array_key_exists($hostname, $serviceMap))