mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
36 lines
703 B
C#
36 lines
703 B
C#
|
|
namespace MediaBrowser.Controller.Entities
|
|
{
|
|
public class Book : BaseItem
|
|
{
|
|
public override string MediaType
|
|
{
|
|
get
|
|
{
|
|
return Model.Entities.MediaType.Book;
|
|
}
|
|
}
|
|
|
|
public string SeriesName { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public override string MetaLocation
|
|
{
|
|
get
|
|
{
|
|
return System.IO.Path.GetDirectoryName(Path);
|
|
}
|
|
}
|
|
|
|
protected override bool UseParentPathToCreateResolveArgs
|
|
{
|
|
get
|
|
{
|
|
return !IsInMixedFolder;
|
|
}
|
|
}
|
|
}
|
|
}
|