mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-27 12:31:57 +00:00
Added protobuf support for serializing ServerConfiguration
This commit is contained in:
parent
8b39ed2f63
commit
50f88997ba
@@ -1,13 +1,24 @@
|
||||
using MediaBrowser.Model.Weather;
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the server configuration.
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class ServerConfiguration : BaseApplicationConfiguration
|
||||
{
|
||||
[ProtoMember(3)]
|
||||
public bool EnableInternetProviders { get; set; }
|
||||
|
||||
[ProtoMember(4)]
|
||||
public bool EnableUserProfiles { get; set; }
|
||||
|
||||
[ProtoMember(5)]
|
||||
public string WeatherZipCode { get; set; }
|
||||
|
||||
[ProtoMember(6)]
|
||||
public WeatherUnits WeatherUnit { get; set; }
|
||||
|
||||
public ServerConfiguration()
|
||||
|
||||
Reference in New Issue
Block a user