mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-18 03:19:06 -07:00
24 lines
488 B
C#
24 lines
488 B
C#
#pragma warning disable CS1591
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
namespace Emby.Dlna.ContentDirectory
|
|
{
|
|
internal class ServerItem
|
|
{
|
|
public ServerItem(BaseItem item)
|
|
{
|
|
Item = item;
|
|
|
|
if (item is IItemByName && !(item is Folder))
|
|
{
|
|
StubType = Dlna.ContentDirectory.StubType.Folder;
|
|
}
|
|
}
|
|
|
|
public BaseItem Item { get; set; }
|
|
|
|
public StubType? StubType { get; set; }
|
|
}
|
|
}
|