jxon 1 Posted April 17, 2020 Share Posted April 17, 2020 (edited) I tried to install Emby 4 Kodi today, and found the add-on fails to show the login menu after installed. After check Kodi's log, it turns out that the add-on failed to fetch a json file from https://raw.githubusercontent.com/MediaBrowser/plugin.video.emby.objects/master/objects.json, As raw.githubusercontent.com has been blocked in China and the add-on didn't fetch the file using Kodi's proxy setting, I can't find a way to install Emby 4 Kodi properly in my Android TV. Is is possible that the future release of Emby 4 Kodi use kodi's proxy setting to fetch the file or just relocate files in raw.githubusercontent.com to somewhere else. Here's the error in kodi log for windows, I don't have the log for Kodi of Android TV. 2020-04-17 21:38:03.655 T:18184 NOTICE: EMBY.patch -> ERROR:: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /MediaBrowser/plugin.video.emby.objects/master/objects.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001673A4B39E8>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)) 2020-04-17 21:38:03.659 T:18184 NOTICE: EMBY.patch -> ERROR:: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /MediaBrowser/plugin.video.emby.objects/master/objects.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016739D760B8>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)) Traceback (most recent call last): File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\patch.py", line 145, in check_update versions = versions or self.get_objects_versions() File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\patch.py", line 120, in get_objects_versions return requests.get(OBJ, verify=False).json() File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\requests\api.py", line 67, in get return request('get', url, params=params, **kwargs) File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\requests\api.py", line 53, in request return session.request(method=method, url=url, **kwargs) File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\requests\sessions.py", line 468, in request resp = self.send(prep, **send_kwargs) File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\requests\sessions.py", line 576, in send r = adapter.send(request, **kwargs) File "C:\Users\jxon\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\requests\adapters.py", line 437, in send raise ConnectionError(e, request=request) ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /MediaBrowser/plugin.video.emby.objects/master/objects.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016739D760B8>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)) Edited April 17, 2020 by jxon Link to comment Share on other sites More sharing options...
Luke 37024 Posted April 17, 2020 Share Posted April 17, 2020 Hi, what about using a VPN? Link to comment Share on other sites More sharing options...
jxon 1 Posted April 18, 2020 Author Share Posted April 18, 2020 (edited) I do use a VPN in My PC, but my Android TV doesn't have any VPN settings and the only way which I can connect Kodi to blocked sites is through Kodi's HTTP Prxoy. It seems that plugin.video.emby didn't use Kodi's HTTP proxy setting to fetch files from raw.githubusercontent.com. Edited April 18, 2020 by jxon Link to comment Share on other sites More sharing options...
jxon 1 Posted April 18, 2020 Author Share Posted April 18, 2020 (edited) I finally managed to install the emby add-on. I downloaded the plugin.video.emby-4.1.19.zip and changed the code in patch.py where the OBJ point to a local server which hosts the objects.json file. Edited April 18, 2020 by jxon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now