#pragma warning disable CS1591 using MediaBrowser.Controller.Entities; namespace Emby.Dlna.ContentDirectory { /// /// Defines the . /// internal class ServerItem { /// /// Initializes a new instance of the class. /// /// The . public ServerItem(BaseItem item) { Item = item; if (item is IItemByName && item is not Folder) { StubType = Dlna.ContentDirectory.StubType.Folder; } } /// /// Gets or sets the underlying base item. /// public BaseItem Item { get; set; } /// /// Gets or sets the DLNA item type. /// public StubType? StubType { get; set; } } }