UIApplicationConfiguration.cs 817 B

123456789101112131415161718192021222324252627
  1. using MediaBrowser.Model.Configuration;
  2. namespace MediaBrowser.UI.Configuration
  3. {
  4. /// <summary>
  5. /// This is the UI's device configuration that applies regardless of which user is logged in.
  6. /// </summary>
  7. public class UIApplicationConfiguration : BaseApplicationConfiguration
  8. {
  9. /// <summary>
  10. /// Gets or sets the server host name (myserver or 192.168.x.x)
  11. /// </summary>
  12. public string ServerHostName { get; set; }
  13. /// <summary>
  14. /// Gets or sets the port number used by the API
  15. /// </summary>
  16. public int ServerApiPort { get; set; }
  17. public UIApplicationConfiguration()
  18. : base()
  19. {
  20. ServerHostName = "localhost";
  21. ServerApiPort = 8096;
  22. }
  23. }
  24. }