You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
584 B
22 lines
584 B
using System;
|
|
using MediaBrowser.Net.Handlers;
|
|
using MediaBrowser.Controller;
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
namespace MediaBrowser.Api.HttpHandlers
|
|
{
|
|
public class StudiosHandler : JsonHandler
|
|
{
|
|
protected sealed override object ObjectToSerialize
|
|
{
|
|
get
|
|
{
|
|
Folder parent = ApiService.GetItemById(QueryString["id"]) as Folder;
|
|
Guid userId = Guid.Parse(QueryString["userid"]);
|
|
|
|
return Kernel.Instance.GetAllStudios(parent, userId);
|
|
}
|
|
}
|
|
}
|
|
}
|