diff options
| author | crobibero <cody@robibe.ro> | 2020-09-04 16:42:40 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-04 16:42:40 -0600 |
| commit | d5eb246557f9c943d8e3c5ddcc357ef351425deb (patch) | |
| tree | 99b257fa694de3c263767aa44c8932ca21348dc2 /Jellyfin.Api/Controllers/LiveTvController.cs | |
| parent | 4fc611bf29c9d19c333d60c23325ae2b20900de1 (diff) | |
| parent | d8c6d291829f6a80ad1c13e039293f04083470f0 (diff) | |
Merge remote-tracking branch 'upstream/master' into api-stream-return
Diffstat (limited to 'Jellyfin.Api/Controllers/LiveTvController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LiveTvController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs index 07a176edd..7d720a5c5 100644 --- a/Jellyfin.Api/Controllers/LiveTvController.cs +++ b/Jellyfin.Api/Controllers/LiveTvController.cs @@ -17,6 +17,7 @@ using Jellyfin.Api.Models.LiveTvDtos; using Jellyfin.Data.Enums; using MediaBrowser.Common; using MediaBrowser.Common.Configuration; +using MediaBrowser.Common.Net; using MediaBrowser.Controller.Dto; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.TV; @@ -1071,7 +1072,7 @@ namespace Jellyfin.Api.Controllers [ProducesFile(MediaTypeNames.Application.Json)] public async Task<ActionResult> GetSchedulesDirectCountries() { - var client = _httpClientFactory.CreateClient(); + var client = _httpClientFactory.CreateClient(NamedClient.Default); // https://json.schedulesdirect.org/20141201/available/countries // Can't dispose the response as it's required up the call chain. var response = await client.GetAsync("https://json.schedulesdirect.org/20141201/available/countries") |
