Minor updates to plugin downloading and weather
This commit is contained in:
parent
26db4b2cd9
commit
6da0ec4170
|
@ -31,6 +31,11 @@ namespace MediaBrowser.Controller.Weather
|
||||||
|
|
||||||
public async Task<WeatherInfo> GetWeatherInfoAsync(string zipCode)
|
public async Task<WeatherInfo> GetWeatherInfoAsync(string zipCode)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(zipCode))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
int numDays = 5;
|
int numDays = 5;
|
||||||
string apiKey = "24902f60f1231941120109";
|
string apiKey = "24902f60f1231941120109";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user