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.
24 lines
488 B
24 lines
488 B
4 years ago
|
#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; }
|
||
|
}
|
||
|
}
|