jellyfin/MediaBrowser.Model/Configuration/ServerConfiguration.cs

31 lines
750 B
C#
Raw Normal View History

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