mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Added Book
This commit is contained in:
parent
4c3ceee7a1
commit
d0f3262ba3
35
MediaBrowser.Controller/Entities/Book.cs
Normal file
35
MediaBrowser.Controller/Entities/Book.cs
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -72,6 +72,7 @@
|
|||||||
<Link>Properties\SharedVersion.cs</Link>
|
<Link>Properties\SharedVersion.cs</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Entities\AdultVideo.cs" />
|
<Compile Include="Entities\AdultVideo.cs" />
|
||||||
|
<Compile Include="Entities\Book.cs" />
|
||||||
<Compile Include="Notifications\Configuration\IServerConfigurationManager.cs" />
|
<Compile Include="Notifications\Configuration\IServerConfigurationManager.cs" />
|
||||||
<Compile Include="Dto\SessionInfoDtoBuilder.cs" />
|
<Compile Include="Dto\SessionInfoDtoBuilder.cs" />
|
||||||
<Compile Include="Entities\Audio\MusicAlbumDisc.cs" />
|
<Compile Include="Entities\Audio\MusicAlbumDisc.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user