ServerConfiguration.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.Configuration;
  3. namespace MediaBrowser.Controller.Configuration
  4. {
  5. public class ServerConfiguration : BaseApplicationConfiguration
  6. {
  7. public string ImagesByNamePath { get; set; }
  8. /// <summary>
  9. /// Gets or sets the default UI configuration
  10. /// </summary>
  11. public UserConfiguration DefaultUserConfiguration { get; set; }
  12. /// <summary>
  13. /// Gets or sets a list of registered UI device names
  14. /// </summary>
  15. public List<string> DeviceNames { get; set; }
  16. /// <summary>
  17. /// Gets or sets all available UIConfigurations
  18. /// The key contains device name and user id
  19. /// </summary>
  20. public Dictionary<string, UserConfiguration> UserConfigurations { get; set; }
  21. public ServerConfiguration()
  22. : base()
  23. {
  24. DefaultUserConfiguration = new UserConfiguration();
  25. UserConfigurations = new Dictionary<string, UserConfiguration>();
  26. DeviceNames = new List<string>();
  27. }
  28. }
  29. }