Adding an identify route for shows

This commit is contained in:
Zoe Roux
2020-04-19 21:29:48 +02:00
parent f6a418ca26
commit 14227edf36
8 changed files with 43 additions and 14 deletions
@@ -27,6 +27,7 @@ namespace Kyoo.Controllers
IEnumerable<Show> SearchShows(string searchQuery);
IEnumerable<Collection> SearchCollections(string searchQuery);
Library GetLibrary(string librarySlug);
Library GetLibraryForShow(string showSlug);
IEnumerable<Library> GetLibraries();
IEnumerable<Studio> GetStudios();
Show GetShowBySlug(string slug);
+1 -1
View File
@@ -11,7 +11,7 @@ namespace Kyoo.Controllers
Task<Collection> GetCollectionFromName(string name);
Task<Show> GetShowByID(Show show);
Task<IEnumerable<Show>> GetShowsFromName(string showName, bool isMovie);
Task<IEnumerable<Show>> SearchShows(string showName, bool isMovie);
Task<IEnumerable<PeopleLink>> GetPeople(Show show);
Task<Season> GetSeason(Show show, long seasonNumber);
@@ -7,6 +7,7 @@ namespace Kyoo.Controllers
public interface IProviderManager
{
Task<Collection> GetCollectionFromName(string name, Library library);
Task<Show> CompleteShow(Show show, Library library);
Task<Show> SearchShow(string showName, bool isMovie, Library library);
Task<IEnumerable<Show>> SearchShows(string showName, bool isMovie, Library library);
Task<Season> GetSeason(Show show, long seasonNumber, Library library);