mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
23 lines
488 B
C#
23 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; }
|
|
}
|
|
}
|