Implemented some IBN functionality - GetPerson, GetYear, GetStudio, GetGenre

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-14 12:06:46 -04:00
parent e2fe4174da
commit ee1fa6e816
10 changed files with 328 additions and 36 deletions

View File

@@ -1,22 +0,0 @@
using System.Collections.Generic;
using MediaBrowser.Controller;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Api.HttpHandlers
{
/// <summary>
/// Gets all items within containing a studio
/// </summary>
public class StudioHandler : ItemListHandler
{
protected override IEnumerable<BaseItem> ItemsToSerialize
{
get
{
Folder parent = ApiService.GetItemById(QueryString["id"]) as Folder;
return Kernel.Instance.GetItemsWithStudio(parent, QueryString["name"], UserId);
}
}
}
}