mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 13:58:29 +01:00
support video_ts.nfo
This commit is contained in:
@@ -1,9 +1,30 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Controller.Providers
|
||||
{
|
||||
public class ItemInfo
|
||||
{
|
||||
public string Path { get; set; }
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
public string Path { get; set; }
|
||||
public string ContainingFolderPath { get; set; }
|
||||
public VideoType VideoType { get; set; }
|
||||
public bool IsInMixedFolder { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user