diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2015-08-10 14:22:30 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2015-08-10 14:22:30 -0400 |
| commit | d6dc1826cc8fbffbb03f323d455bb59ffecde74b (patch) | |
| tree | 70d4c2c29d25b2d3bb3c48f74b517de15fbe585d | |
| parent | 23b88a69bfc7df88372048f448584098f2c9441b (diff) | |
Lineups retrieval
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs | 6 |
1 files 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 4659459d3..5a8dd65b9 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<List<NameIdPair>> GetLineups(ListingsProviderInfo info, string country, string location) { - // location = zip code - var response = await GetResponse<LineupInfo[]>("https://data.emby.media/service/lineups?id=" + location).ConfigureAwait(false); + // location = postal code + var path = await GetResponse<String>("https://data.emby.media/service/lineups?postalCode=" + location).ConfigureAwait(false); + + var response = await GetResponse<LineupInfo[]>("https://data.emby.media" + path).ConfigureAwait(false); return response.Select(i => new NameIdPair { |
