2
0

PhotoAlbum.cs 702 B

12345678910111213141516171819202122232425262728293031
  1. using MediaBrowser.Model.Configuration;
  2. using System.Linq;
  3. using System.Runtime.Serialization;
  4. namespace MediaBrowser.Controller.Entities
  5. {
  6. public class PhotoAlbum : Folder
  7. {
  8. public override bool SupportsLocalMetadata
  9. {
  10. get
  11. {
  12. return false;
  13. }
  14. }
  15. [IgnoreDataMember]
  16. public override bool AlwaysScanInternalMetadataPath
  17. {
  18. get
  19. {
  20. return true;
  21. }
  22. }
  23. protected override bool GetBlockUnratedValue(UserConfiguration config)
  24. {
  25. return config.BlockUnratedItems.Contains(UnratedItem.Other);
  26. }
  27. }
  28. }