Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Entities/Book.cs

43 lines
1.1 KiB
C#
Raw Normal View History

2013-12-26 11:53:23 -05:00
using MediaBrowser.Model.Configuration;
using System.Collections.Generic;
2013-12-05 22:39:44 -05:00
2013-08-30 19:54:49 -04:00
namespace MediaBrowser.Controller.Entities
{
public class Book : BaseItem, IHasTags, IHasPreferredMetadataLanguage
2013-08-30 19:54:49 -04:00
{
public override string MediaType
{
get
{
return Model.Entities.MediaType.Book;
}
}
2013-12-05 22:39:44 -05:00
/// <summary>
/// Gets or sets the tags.
/// </summary>
/// <value>The tags.</value>
public List<string> Tags { get; set; }
2013-08-30 19:54:49 -04:00
public string SeriesName { get; set; }
public string PreferredMetadataLanguage { get; set; }
2013-12-28 11:58:13 -05:00
/// <summary>
/// Gets or sets the preferred metadata country code.
/// </summary>
/// <value>The preferred metadata country code.</value>
public string PreferredMetadataCountryCode { get; set; }
2013-12-05 22:39:44 -05:00
public Book()
{
Tags = new List<string>();
}
2013-12-26 11:53:23 -05:00
protected override bool GetBlockUnratedValue(UserConfiguration config)
{
return config.BlockUnratedBooks;
}
2013-08-30 19:54:49 -04:00
}
}