mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 20:08:59 +02:00
32 lines
No EOL
858 B
C#
32 lines
No EOL
858 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
public class ItemInfo
|
|
{
|
|
public ItemInfo()
|
|
{
|
|
}
|
|
|
|
public ItemInfo(IHasMetadata item)
|
|
{
|
|
Path = item.Path;
|
|
ContainingFolderPath = item.ContainingFolderPath;
|
|
IsInMixedFolder = item.IsInMixedFolder;
|
|
|
|
var video = item as Video;
|
|
if (video != null)
|
|
{
|
|
VideoType = video.VideoType;
|
|
IsPlaceHolder = video.IsPlaceHolder;
|
|
}
|
|
}
|
|
|
|
public string Path { get; set; }
|
|
public string ContainingFolderPath { get; set; }
|
|
public VideoType VideoType { get; set; }
|
|
public bool IsInMixedFolder { get; set; }
|
|
public bool IsPlaceHolder { get; set; }
|
|
}
|
|
} |