The Free Software Media System - Server Backend & API
Lineups retrieval
Eric Reedd6dc1826cc8f
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/Emby/EmbyListingsNorthAmerica.csindex 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.Embypublic 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{