Jump to content

User agent used by emby for kodi?


runtimesandbox

Recommended Posts

runtimesandbox

What user agent does the emby for kodi addon report to the server?

The reason for asking is I have a reverse proxy in front of my emby server for SSL and i implement a bot blocker. It works fine for normal web interface / chromecast but it blocks the emby for kodi addon.

Link to comment
Share on other sites

runtimesandbox

Upon further inspecting my log files, it looks like it does not send a user agent

xxx.xxx.xxx.xxx - - [28/Apr/2017:20:51:48 +0100] "GET /emby/Users/Public?format=json HTTP/1.1" 444 0 "-" "-"

Is it possible for it to send an identifier / useragent?

Link to comment
Share on other sites

runtimesandbox

Okay after further digging it does start to report a user agent and that is

xxx.xxx.xxx.xxx - - [28/Apr/2017:22:36:24 +0100] "GET /emby/Users/Public?format=json HTTP/1.1" 444 0 "-" "python-requests/2.12.4"

python-requests/2.12.4

 

This appears to be the addon syncing / talking to the server etc

 

When playing it reports the kodi device such as 

"OSMC (Linux; OSMC 2017.03-1)

Is it possible for the addon to report itself as "Emby for Kodi" or similar? 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...