mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-13 09:43:12 +01:00
Added more IBN api methods
This commit is contained in:
parent
d4d2e85486
commit
9c456c63c8
@@ -85,6 +85,22 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
return new VideoHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/person", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new PersonHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/genre", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new GenreHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/year", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new YearHandler();
|
||||
}
|
||||
else if (localPath.EndsWith("/api/studio", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new StudioHandler();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user