mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02: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; }
|
||
|
}
|
||
|
}
|