diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-04 16:31:05 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-04 16:31:05 -0500 |
| commit | 0c7bde0aad5e73e931531eaf4b891ddb9f6fa989 (patch) | |
| tree | aaa90eae5fd9ee90f31297b4dae53a29ef34fcfd | |
| parent | 401a6b8f4a84f378f0f6682ee7aecccc6ab30935 (diff) | |
add user agent to xmltv requests
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs index 557fa1f5f..57307aa73 100644 --- a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs +++ b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs @@ -77,7 +77,9 @@ namespace Emby.Server.Implementations.LiveTv.Listings // It's going to come back gzipped regardless of this value // So we need to make sure the decompression method is set to gzip - EnableHttpCompression = true + EnableHttpCompression = true, + + UserAgent = "Emby/3.0" }).ConfigureAwait(false); |
