mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
Implemented some IBN functionality - GetPerson, GetYear, GetStudio, GetGenre
This commit is contained in:
parent
e2fe4174da
commit
ee1fa6e816
@@ -49,17 +49,25 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
return new UsersHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/genre", StringComparison.OrdinalIgnoreCase))
|
||||
else if (localPath.EndsWith("/api/itemswithgenre", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new GenreHandler();
|
||||
return new ItemsWithGenreHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/genres", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new GenresHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/studio", StringComparison.OrdinalIgnoreCase))
|
||||
else if (localPath.EndsWith("/api/itemswithyear", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new StudioHandler();
|
||||
return new ItemsWithYearHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/years", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new YearsHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/itemswithstudio", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new ItemsWithStudioHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/studios", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user