jellyfin-server/MediaBrowser.Model/Configuration/ServerConfiguration.cs

31 lines
750 B
C#
Raw Normal View History

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