diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2015-08-10 15:46:09 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2015-08-10 15:46:09 -0400 |
| commit | f2f917ccee6bbabe155630ff7446c071c3228712 (patch) | |
| tree | 6425aa45939d8507454fff13b473418e8421c690 | |
| parent | 1e9292c4543381338df3d0135f326801f0daf2b4 (diff) | |
Fix response
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs index 6fc6975a8..37025b8e8 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs @@ -46,9 +46,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings.Emby public async Task<List<NameIdPair>> GetLineups(string country, string location) { // location = postal code - var path = await GetResponse<String>("https://data.emby.media/service/lineups?postalCode=" + location).ConfigureAwait(false); - - var response = await GetResponse<LineupInfo[]>("https://www.mb3admin.com" + path).ConfigureAwait(false); + var response = await GetResponse<LineupInfo[]>("https://data.emby.media/service/lineups?postalCode=" + location).ConfigureAwait(false); return response.Select(i => new NameIdPair { @@ -93,7 +91,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings.Emby using (var secondStream = await _httpClient.Get(new HttpRequestOptions { - Url = "https://data.emby.media" + path + Url = "https://www.mb3admin.com" + path }).ConfigureAwait(false)) { |
