Added more IBN api methods

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-18 12:27:34 -04:00
parent d4d2e85486
commit 9c456c63c8
9 changed files with 278 additions and 5 deletions

View File

@@ -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;
}