mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
restored weather settings
This commit is contained in:
parent
e946078ab3
commit
8ad9ac3b73
@ -316,6 +316,9 @@
|
|||||||
<Compile Include="..\MediaBrowser.Model\Updates\PackageVersionInfo.cs">
|
<Compile Include="..\MediaBrowser.Model\Updates\PackageVersionInfo.cs">
|
||||||
<Link>Updates\PackageVersionInfo.cs</Link>
|
<Link>Updates\PackageVersionInfo.cs</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="..\MediaBrowser.Model\Weather\WeatherUnits.cs">
|
||||||
|
<Link>Weather\WeatherUnits.cs</Link>
|
||||||
|
</Compile>
|
||||||
<Compile Include="..\MediaBrowser.Model\Web\QueryStringDictionary.cs">
|
<Compile Include="..\MediaBrowser.Model\Web\QueryStringDictionary.cs">
|
||||||
<Link>Web\QueryStringDictionary.cs</Link>
|
<Link>Web\QueryStringDictionary.cs</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
@ -8,6 +8,18 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class ServerConfiguration : BaseApplicationConfiguration
|
public class ServerConfiguration : BaseApplicationConfiguration
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the zip code to use when displaying weather
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The weather location.</value>
|
||||||
|
public string WeatherLocation { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the weather unit to use when displaying weather
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The weather unit.</value>
|
||||||
|
public WeatherUnits WeatherUnit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether [enable HTTP level logging].
|
/// Gets or sets a value indicating whether [enable HTTP level logging].
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -134,6 +134,7 @@
|
|||||||
<Compile Include="Tasks\TaskTriggerInfo.cs" />
|
<Compile Include="Tasks\TaskTriggerInfo.cs" />
|
||||||
<Compile Include="Updates\PackageInfo.cs" />
|
<Compile Include="Updates\PackageInfo.cs" />
|
||||||
<Compile Include="Updates\PackageVersionInfo.cs" />
|
<Compile Include="Updates\PackageVersionInfo.cs" />
|
||||||
|
<Compile Include="Weather\WeatherUnits.cs" />
|
||||||
<Compile Include="Web\QueryStringDictionary.cs" />
|
<Compile Include="Web\QueryStringDictionary.cs" />
|
||||||
<None Include="FodyWeavers.xml" />
|
<None Include="FodyWeavers.xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
17
MediaBrowser.Model/Weather/WeatherUnits.cs
Normal file
17
MediaBrowser.Model/Weather/WeatherUnits.cs
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
namespace MediaBrowser.Model.Weather
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Enum WeatherUnits
|
||||||
|
/// </summary>
|
||||||
|
public enum WeatherUnits
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The fahrenheit
|
||||||
|
/// </summary>
|
||||||
|
Fahrenheit,
|
||||||
|
/// <summary>
|
||||||
|
/// The celsius
|
||||||
|
/// </summary>
|
||||||
|
Celsius
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user