mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
Implemented some IBN functionality - GetPerson, GetYear, GetStudio, GetGenre
This commit is contained in:
parent
e2fe4174da
commit
ee1fa6e816
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user