From 0c7bde0aad5e73e931531eaf4b891ddb9f6fa989 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 4 Dec 2016 16:31:05 -0500 Subject: [PATCH] add user agent to xmltv requests --- .../LiveTv/Listings/XmlTvListingsProvider.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs index 557fa1f5ff..57307aa73a 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);