Book.cs 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Controller.Entities
  3. {
  4. public class Book : BaseItem, IHasTags
  5. {
  6. public override string MediaType
  7. {
  8. get
  9. {
  10. return Model.Entities.MediaType.Book;
  11. }
  12. }
  13. /// <summary>
  14. /// Gets or sets the tags.
  15. /// </summary>
  16. /// <value>The tags.</value>
  17. public List<string> Tags { get; set; }
  18. public string SeriesName { get; set; }
  19. /// <summary>
  20. ///
  21. /// </summary>
  22. public override string MetaLocation
  23. {
  24. get
  25. {
  26. return System.IO.Path.GetDirectoryName(Path);
  27. }
  28. }
  29. protected override bool UseParentPathToCreateResolveArgs
  30. {
  31. get
  32. {
  33. return !IsInMixedFolder;
  34. }
  35. }
  36. public Book()
  37. {
  38. Tags = new List<string>();
  39. }
  40. }
  41. }