From 1f9f4ed2b78a1c268c86785dcbd93bf49b677bb6 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 13 May 2018 16:42:53 -0500 Subject: [PATCH] Add version to user-agent --- resources/lib/downloadutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index cad71206..11faa6d7 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -204,7 +204,7 @@ class DownloadUtils(object): 'Content-type': 'application/json', 'Accept-encoding': 'gzip', 'Accept-Charset': 'UTF-8,*', - 'User-Agent': 'Emby-Kodi' + 'User-Agent': 'Emby-Kodi (%s)' % version }) return header