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.
jellyfin/MediaBrowser.Controller/Providers/ItemInfo.cs

40 lines
942 B

#pragma warning disable CS1591
6 years ago
using System;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Providers
{
public class ItemInfo
{
public ItemInfo(BaseItem item)
{
Path = item.Path;
ContainingFolderPath = item.ContainingFolderPath;
IsInMixedFolder = item.IsInMixedFolder;
var video = item as Video;
if (video != null)
{
VideoType = video.VideoType;
IsPlaceHolder = video.IsPlaceHolder;
}
ItemType = item.GetType();
}
public Type ItemType { get; set; }
6 years ago
public string Path { get; set; }
6 years ago
public string ContainingFolderPath { get; set; }
6 years ago
public VideoType VideoType { get; set; }
6 years ago
public bool IsInMixedFolder { get; set; }
6 years ago
public bool IsPlaceHolder { get; set; }
}
}