mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 11:14:47 +03:00
fixes #358 - Weather validation in Server configuration
This commit is contained in:
@@ -8,7 +8,6 @@ using MediaBrowser.Model.Serialization;
|
||||
using MediaBrowser.Model.Session;
|
||||
using MediaBrowser.Model.System;
|
||||
using MediaBrowser.Model.Tasks;
|
||||
using MediaBrowser.Model.Weather;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
@@ -224,22 +223,6 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <returns>Task{List{ParentalRating}}.</returns>
|
||||
Task<List<ParentalRating>> GetParentalRatingsAsync();
|
||||
|
||||
/// <summary>
|
||||
/// Gets weather information for the default location as set in configuration
|
||||
/// </summary>
|
||||
/// <returns>Task{WeatherInfo}.</returns>
|
||||
Task<WeatherInfo> GetWeatherInfoAsync();
|
||||
|
||||
/// <summary>
|
||||
/// Gets weather information for a specific location
|
||||
/// Location can be a US zipcode, or "city,state", "city,state,country", "city,country"
|
||||
/// It can also be an ip address, or "latitude,longitude"
|
||||
/// </summary>
|
||||
/// <param name="location">The location.</param>
|
||||
/// <returns>Task{WeatherInfo}.</returns>
|
||||
/// <exception cref="ArgumentNullException">location</exception>
|
||||
Task<WeatherInfo> GetWeatherInfoAsync(string location);
|
||||
|
||||
/// <summary>
|
||||
/// Gets local trailers for an item
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user