aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.UI/Configuration/UIApplicationConfiguration.cs
blob: 59c6251786a94f6c270e79a71d1fa75a186db1a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using MediaBrowser.Model.Configuration;

namespace MediaBrowser.UI.Configuration
{
    /// <summary>
    /// This is the UI's device configuration that applies regardless of which user is logged in.
    /// </summary>
    public class UIApplicationConfiguration : BaseApplicationConfiguration
    {
        /// <summary>
        /// Gets or sets the server host name (myserver or 192.168.x.x)
        /// </summary>
        public string ServerHostName { get; set; }

        /// <summary>
        /// Gets or sets the port number used by the API
        /// </summary>
        public int ServerApiPort { get; set; }

        public UIApplicationConfiguration()
            : base()
        {
            ServerHostName = "localhost";
            ServerApiPort = 8096;
        }
    }
}