Added Book

This commit is contained in:
Luke Pulverenti 2013-08-30 19:54:49 -04:00
parent 4c3ceee7a1
commit d0f3262ba3
2 changed files with 36 additions and 0 deletions

View 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;
}
}
}
}

View File

@ -72,6 +72,7 @@
<Link>Properties\SharedVersion.cs</Link>
</Compile>
<Compile Include="Entities\AdultVideo.cs" />
<Compile Include="Entities\Book.cs" />
<Compile Include="Notifications\Configuration\IServerConfigurationManager.cs" />
<Compile Include="Dto\SessionInfoDtoBuilder.cs" />
<Compile Include="Entities\Audio\MusicAlbumDisc.cs" />