Add version to user-agent

This commit is contained in:
angelblue05 2018-05-13 16:42:53 -05:00
parent e6022cbd17
commit 1f9f4ed2b7

View file

@ -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