diff --git a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj index e6eb01cd7c..089a80e791 100644 --- a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj +++ b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj @@ -316,6 +316,9 @@ Updates\PackageVersionInfo.cs + + Weather\WeatherUnits.cs + Web\QueryStringDictionary.cs diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 0446046c2b..567f305bcf 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -8,6 +8,18 @@ namespace MediaBrowser.Model.Configuration /// public class ServerConfiguration : BaseApplicationConfiguration { + /// + /// Gets or sets the zip code to use when displaying weather + /// + /// The weather location. + public string WeatherLocation { get; set; } + + /// + /// Gets or sets the weather unit to use when displaying weather + /// + /// The weather unit. + public WeatherUnits WeatherUnit { get; set; } + /// /// Gets or sets a value indicating whether [enable HTTP level logging]. /// diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index 159ad386d1..2068920d8f 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -134,6 +134,7 @@ + diff --git a/MediaBrowser.Model/Weather/WeatherUnits.cs b/MediaBrowser.Model/Weather/WeatherUnits.cs new file mode 100644 index 0000000000..d27982e956 --- /dev/null +++ b/MediaBrowser.Model/Weather/WeatherUnits.cs @@ -0,0 +1,17 @@ +namespace MediaBrowser.Model.Weather +{ + /// + /// Enum WeatherUnits + /// + public enum WeatherUnits + { + /// + /// The fahrenheit + /// + Fahrenheit, + /// + /// The celsius + /// + Celsius + } +} \ No newline at end of file