From d6dc1826cc8fbffbb03f323d455bb59ffecde74b Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Mon, 10 Aug 2015 14:22:30 -0400 Subject: [PATCH] Lineups retrieval --- .../LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs index 4659459d38..5a8dd65b96 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs @@ -45,8 +45,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings.Emby public async Task> GetLineups(ListingsProviderInfo info, string country, string location) { - // location = zip code - var response = await GetResponse("https://data.emby.media/service/lineups?id=" + location).ConfigureAwait(false); + // location = postal code + var path = await GetResponse("https://data.emby.media/service/lineups?postalCode=" + location).ConfigureAwait(false); + + var response = await GetResponse("https://data.emby.media" + path).ConfigureAwait(false); return response.Select(i => new NameIdPair {