BoxSet.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using MediaBrowser.Model.Configuration;
  2. using MediaBrowser.Model.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Controller.Entities.Movies
  6. {
  7. /// <summary>
  8. /// Class BoxSet
  9. /// </summary>
  10. public class BoxSet : Folder, IHasTrailers, IHasTags, IHasPreferredMetadataLanguage
  11. {
  12. public BoxSet()
  13. {
  14. RemoteTrailers = new List<MediaUrl>();
  15. LocalTrailerIds = new List<Guid>();
  16. Tags = new List<string>();
  17. }
  18. public List<Guid> LocalTrailerIds { get; set; }
  19. /// <summary>
  20. /// Gets or sets the remote trailers.
  21. /// </summary>
  22. /// <value>The remote trailers.</value>
  23. public List<MediaUrl> RemoteTrailers { get; set; }
  24. /// <summary>
  25. /// Gets or sets the tags.
  26. /// </summary>
  27. /// <value>The tags.</value>
  28. public List<string> Tags { get; set; }
  29. public string PreferredMetadataLanguage { get; set; }
  30. protected override bool GetBlockUnratedValue(UserConfiguration config)
  31. {
  32. return config.BlockUnratedMovies;
  33. }
  34. }
  35. }