Files
jellyfin-jellyfin-1/MediaBrowser.Model/Configuration/ServerConfiguration.cs

31 lines
750 B
C#
Raw Normal View History

2012-09-02 13:34:12 -04:00
using MediaBrowser.Model.Weather;
using ProtoBuf;
2012-09-02 13:34:12 -04:00
namespace MediaBrowser.Model.Configuration
{
/// <summary>
/// Represents the server configuration.
/// </summary>
[ProtoContract]
public class ServerConfiguration : BaseApplicationConfiguration
{
[ProtoMember(3)]
2012-08-20 23:32:59 -04:00
public bool EnableInternetProviders { get; set; }
[ProtoMember(4)]
public bool EnableUserProfiles { get; set; }
[ProtoMember(5)]
2012-09-02 13:34:12 -04:00
public string WeatherZipCode { get; set; }
[ProtoMember(6)]
2012-09-02 13:34:12 -04:00
public WeatherUnits WeatherUnit { get; set; }
public ServerConfiguration()
: base()
{
EnableUserProfiles = true;
}
}
}