mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
35 lines
703 B
C#
35 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;
|
|
}
|
|
}
|
|
}
|
|
}
|