From f2f917ccee6bbabe155630ff7446c071c3228712 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Mon, 10 Aug 2015 15:46:09 -0400 Subject: [PATCH] Fix response --- .../LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs | 6 ++---- 1 file 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 6fc6975a84..37025b8e86 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> GetLineups(string country, string location) { // location = postal code - var path = await GetResponse("https://data.emby.media/service/lineups?postalCode=" + location).ConfigureAwait(false); - - var response = await GetResponse("https://www.mb3admin.com" + path).ConfigureAwait(false); + var response = await GetResponse("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)) {