hansolo77 11 Posted August 14, 2019 Share Posted August 14, 2019 I just noticed that my TV Library in Kodi is only displaying the "Primary" artwork for the TV show list. I have my skin's view set to banner, and it always showed banner before. Is this a problem with the latest update to the addon, or is it something that's wrong with the skin? It's always worked fine before. Addon: 4.1.13 Server: 4.2.1.0 I'm in the process now of re-sycning my library. Thought maybe it would help. Any ideas? Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 14, 2019 Author Share Posted August 14, 2019 Seems to have fixed itself by rebuilding the library. Curious what caused it, but glad it's working correctly again. Link to comment Share on other sites More sharing options...
chef 3749 Posted August 15, 2019 Share Posted August 15, 2019 (edited) TheTMDB API seems to be down this evening Edited August 15, 2019 by chef Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 15, 2019 Author Share Posted August 15, 2019 OK, I can live with a problem like that being experienced on a different server. But all that metadata, like artwork, is stored locally right? And when I select to cache all artwork from the Kodi addon in Kodi, doesn't that "cache all artwork" to Kodi?? I don't understand how a remote website/server being down could affect a local database with local artwork. I mean, shouldn't I be able to do this without even being connected to the internet? Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted August 15, 2019 Share Posted August 15, 2019 (edited) Without a log it’s next to impossible to know what happened. Everything comes from your server. There’s no toggle, it just grabs and process whatever is returned by the server. Maybe the artwork wasn’t fully added to the server at the time? Maybe it failed to correctly cache the artwork and so it wasn’t loading in Kodi. It’s not something I’ve seen. Cache all artwork in Kodi is a local task, it cleans the texture db and force cache to Kodi all the path/urls found in the Kodi dbs. Edited August 15, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 16, 2019 Author Share Posted August 16, 2019 I wonder if it depends on how I've got it configured. Kodi is running on a Raspberry Pi, and my "server" is a legit home built server computer. I've got it configured to use the default method rather than native/direct path. So maybe the artwork isn't caching correctly because of that setup? It seems to be working correctly again so I'm good now. As a side note, related to the default/native modes... I've started noticing here in the last 2 weeks or so that every time I get home from work (times change, it's not important) when I turn on my TV it is showing a popup message asking for the settings Emby should use, the mode, whether to sync empty shows, and to indicated episode numbers in series. I have configured these before, and the settings are definitely set when I look at them. But for some reason, it seems to act like it's forgetting them over the course of a day and is prompting for them again. Should I start a new thread for this or is it something that is a known issue being worked on? It's only been in the last few updates that I've noticed it. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted August 16, 2019 Share Posted August 16, 2019 Hmm provide your Kodi log, that’s not normal. Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 18, 2019 Author Share Posted August 18, 2019 I just got home from work today, and again.. it's prompting me for the settings. I saw you wanted a log. I can supply it, but it's 8mb in size! I took a glance through, seems like the problem might be related to it trying to connect to the server, which goes offline to save power when I'm not using it. So it looks like it's trying to reconnect over and over again and (possibly?) deciding it can't connect and wants me to re-input the settings. I never really thought of it till now, but I do remember when I had left the server on for about a week to defrag, it never prompted for the settings. I just assumed it was due to a recent version upgrade/patch. Given this new insight, would you prefer it if I created a new thread to this specific problem? Excerpt of log (repeated MANY times over the last 12 hours): 2019-08-18 14:21:02.964 T:944763760 NOTICE: EMBY.helper.utils -> exiiiiitttinggg 2019-08-18 14:21:02.964 T:944763760 NOTICE: EMBY.library -> ---<[ library ] 2019-08-18 14:21:21.079 T:862962544 NOTICE: EMBY.connect -> --[ server/default ] 2019-08-18 14:21:21.113 T:862962544 NOTICE: Emby.emby.core.connection_manager -> Begin connect 2019-08-18 14:21:22.126 T:862962544 NOTICE: Emby.emby.core.connection_manager -> Found Servers: [] 2019-08-18 14:21:22.128 T:862962544 NOTICE: Emby.emby.core.connection_manager -> Begin connectToServers, with 1 servers 2019-08-18 14:21:22.131 T:862962544 NOTICE: Emby.emby.core.connection_manager -> testing connection mode 2 with server CEREBRO 2019-08-18 14:21:22.131 T:862962544 NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://192.168.1.5:8096/emby/system/info/public 2019-08-18 14:21:25.178 T:862962544 NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='192.168.1.5', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x60f2db10>: Failed to establish a new connection: [Errno 113] No route to host',)) 2019-08-18 14:21:25.179 T:862962544 NOTICE: Emby.emby.core.connection_manager -> ERROR:: 2019-08-18 14:21:25.180 T:862962544 NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 2 with server CEREBRO 2019-08-18 14:21:25.180 T:862962544 NOTICE: Emby.emby.core.connection_manager -> testing connection mode 0 with server CEREBRO 2019-08-18 14:21:25.180 T:862962544 NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://192.168.1.5:8096/emby/system/info/public 2019-08-18 14:21:28.220 T:862962544 NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='192.168.1.5', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x41fbcf70>: Failed to establish a new connection: [Errno 113] No route to host',)) 2019-08-18 14:21:28.234 T:862962544 NOTICE: Emby.emby.core.connection_manager -> ERROR:: 2019-08-18 14:21:28.235 T:862962544 NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 0 with server CEREBRO 2019-08-18 14:21:28.237 T:862962544 NOTICE: Emby.emby.core.connection_manager -> testing connection mode 1 with server CEREBRO 2019-08-18 14:21:28.244 T:862962544 NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://{emby-server}/emby/system/info/public 2019-08-18 14:21:38.334 T:862962544 NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='embycerebro.ddns.net', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x402a98f0>, 'Connection to embycerebro.ddns.net timed out. (connect timeout=10)')) 2019-08-18 14:21:38.334 T:862962544 NOTICE: Emby.emby.core.connection_manager -> ERROR:: 2019-08-18 14:21:38.335 T:862962544 NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 1 with server CEREBRO 2019-08-18 14:21:38.335 T:862962544 NOTICE: Emby.emby.core.connection_manager -> Tested all connection modes. Failing server connection. 2019-08-18 14:21:38.353 T:862962544 NOTICE: EMBY.connect -> ERROR:: User is not authenticated. 2019-08-18 14:21:38.450 T:1552040816 NOTICE: EMBY.entrypoint.service -> [ onNotification/plugin.video.emby/ServerUnreachable ] 2019-08-18 14:21:38.528 T:888140656 NOTICE: Emby -> ---[ STOPPED EMBYCLIENT: default ]--- 2019-08-18 14:21:38.610 T:862962544 NOTICE: EMBY.setup -> ---<[ setup ] 2019-08-18 14:21:38.785 T:862962544 NOTICE: Emby -> ---[ START EMBYCLIENT ]--- 2019-08-18 14:21:38.794 T:944763760 NOTICE: EMBY.library -> --->[ library ] 2019-08-18 14:21:39.796 T:944763760 NOTICE: EMBY.views -> ERROR:: Unable to retrieve libraries: NotConnected 2019-08-18 14:21:40.068 T:944763760 NOTICE: EMBY.views -> Unable to retrieve libraries: NotConnected 2019-08-18 14:21:40.155 T:944763760 NOTICE: EMBY.library -> ERROR:: 'Device name cannot be null' Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 490, in startup self.get_fast_sync() File "/storage/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 531, in get_fast_sync for plugin in self.server['api'].get_plugins(): File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/api.py", line 268, in get_plugins return self._get("Plugins") File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/api.py", line 53, in _get return self._http("GET", handler, {'params': params}) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/api.py", line 50, in _http return self.client.request(request) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 86, in request data = self._request(data) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 183, in _request self._get_header(data) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 221, in _get_header self._authorization(data) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 228, in _authorization raise KeyError("Device name cannot be null") KeyError: 'Device name cannot be null' 2019-08-18 14:21:40.163 T:944763760 NOTICE: EMBY.helper.utils -> exiiiiitttinggg 2019-08-18 14:21:40.163 T:944763760 NOTICE: EMBY.library -> ---<[ library ] 2019-08-18 14:21:58.529 T:888140656 NOTICE: EMBY.connect -> --[ server/default ] 2019-08-18 14:21:58.557 T:888140656 NOTICE: Emby.emby.core.connection_manager -> Begin connect 2019-08-18 14:21:59.566 T:888140656 NOTICE: Emby.emby.core.connection_manager -> Found Servers: [] 2019-08-18 14:21:59.568 T:888140656 NOTICE: Emby.emby.core.connection_manager -> Begin connectToServers, with 1 servers 2019-08-18 14:21:59.570 T:888140656 NOTICE: Emby.emby.core.connection_manager -> testing connection mode 2 with server CEREBRO 2019-08-18 14:21:59.582 T:888140656 NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://192.168.1.5:8096/emby/system/info/public 2019-08-18 14:22:02.644 T:888140656 NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='192.168.1.5', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x3f9ebd50>: Failed to establish a new connection: [Errno 113] No route to host',)) 2019-08-18 14:22:02.645 T:888140656 NOTICE: Emby.emby.core.connection_manager -> ERROR:: 2019-08-18 14:22:02.645 T:888140656 NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 2 with server CEREBRO 2019-08-18 14:22:02.646 T:888140656 NOTICE: Emby.emby.core.connection_manager -> testing connection mode 0 with server CEREBRO 2019-08-18 14:22:02.646 T:888140656 NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://192.168.1.5:8096/emby/system/info/public 2019-08-18 14:22:05.684 T:888140656 NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='192.168.1.5', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x4013b810>: Failed to establish a new connection: [Errno 113] No route to host',)) 2019-08-18 14:22:05.685 T:888140656 NOTICE: Emby.emby.core.connection_manager -> ERROR:: 2019-08-18 14:22:05.685 T:888140656 NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 0 with server CEREBRO 2019-08-18 14:22:05.686 T:888140656 NOTICE: Emby.emby.core.connection_manager -> testing connection mode 1 with server CEREBRO 2019-08-18 14:22:05.686 T:888140656 NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://{emby-server}/emby/system/info/public 2019-08-18 14:22:15.763 T:888140656 NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='embycerebro.ddns.net', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x3f06b870>, 'Connection to embycerebro.ddns.net timed out. (connect timeout=10)')) 2019-08-18 14:22:15.764 T:888140656 NOTICE: Emby.emby.core.connection_manager -> ERROR:: 2019-08-18 14:22:15.764 T:888140656 NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 1 with server CEREBRO 2019-08-18 14:22:15.765 T:888140656 NOTICE: Emby.emby.core.connection_manager -> Tested all connection modes. Failing server connection. 2019-08-18 14:22:15.783 T:888140656 NOTICE: EMBY.connect -> ERROR:: User is not authenticated. 2019-08-18 14:22:15.863 T:1552040816 NOTICE: EMBY.entrypoint.service -> [ onNotification/plugin.video.emby/ServerUnreachable ] 2019-08-18 14:22:15.927 T:944763760 NOTICE: Emby -> ---[ STOPPED EMBYCLIENT: default ]--- 2019-08-18 14:22:16.093 T:888140656 NOTICE: EMBY.setup -> ---<[ setup ] 2019-08-18 14:22:16.267 T:888140656 NOTICE: Emby -> ---[ START EMBYCLIENT ]--- 2019-08-18 14:22:16.276 T:862962544 NOTICE: EMBY.library -> --->[ library ] 2019-08-18 14:22:17.279 T:862962544 NOTICE: EMBY.views -> ERROR:: Unable to retrieve libraries: NotConnected 2019-08-18 14:22:17.612 T:862962544 NOTICE: EMBY.views -> Unable to retrieve libraries: NotConnected 2019-08-18 14:22:17.697 T:862962544 NOTICE: EMBY.library -> ERROR:: 'Device name cannot be null' Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 490, in startup self.get_fast_sync() File "/storage/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 531, in get_fast_sync for plugin in self.server['api'].get_plugins(): File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/api.py", line 268, in get_plugins return self._get("Plugins") File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/api.py", line 53, in _get return self._http("GET", handler, {'params': params}) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/api.py", line 50, in _http return self.client.request(request) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 86, in request data = self._request(data) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 183, in _request self._get_header(data) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 221, in _get_header self._authorization(data) File "/storage/.kodi/addons/plugin.video.emby/libraries/emby/core/http.py", line 228, in _authorization raise KeyError("Device name cannot be null") KeyError: 'Device name cannot be null' 2019-08-18 14:22:17.699 T:862962544 NOTICE: EMBY.helper.utils -> exiiiiitttinggg Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted August 19, 2019 Share Posted August 19, 2019 Check the add-on settings > select enable alternate device name, set it up. Does that help fix this? Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 19, 2019 Author Share Posted August 19, 2019 I will try it tonight. I set my server up to run 24 hours last night before bed to see if that solves the problem. it looks like I might have been right. When I came home from work today, the server was still on and when I turned on my TV, Kodi was working like it should, not prompting from Emby settings. As I said, I will try checking that setting and see if it fixes it tomorrow. 1 Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 21, 2019 Author Share Posted August 21, 2019 I enabled the setting and set it to a name. I then rebooted. I went to bed last night after it was all done. The physical server DID go to sleep last night as expected. When I came home from work this evening, it looks like it's still doing the same thing. Prompting for Default/Native playback mode, Sync Empty Shows, and then to add the Multipart # on the episodes. It says I've changed the playback mode, but I haven't done anything besides turn the TV off last night. I use the Default mode, don't sync empty shows, and don't added the multipart #'s. I'm not sure how long it takes before the bug triggers. I assume it has to do with the server being off, since it doesn't do that when it's left on. Mostly just annoying really, because I can't navigate Kodi without "reprogramming" Emby every day. I did, like a week a go or so, try completely uninstalling Emby from the Kodi system. I took it farther too by going in and forcibly erasing all the /appdata folders and everything else I could find that was related to Emby. I even went in to my Kodi settings and purged the entire media library, then renamed the database file to a .bak so Kodi would have to recreate it. I then installed Emby and let it do it's sync. Still does it. I'm off work tomorrow if you have a suggestion for something else to try. I know we all have lives, so I'm in no hurry. I'm actually sick, came home from work early with a fever. So I might not even feel like messing with it. But I have no problem troubleshooting. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted August 21, 2019 Share Posted August 21, 2019 (edited) I’ll have more time after thursday to look into it. It makes no sense, I have my server go offline all the time, the setup is saved within the addon settings. It sounds as if the settings.xml file for the addon gets erased or something? You are not using some kind of path substitution for kodi profiles right? Edited August 21, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
hansolo77 11 Posted August 21, 2019 Author Share Posted August 21, 2019 No I don't use any of that stuff. I don't even use profiles in Kodi. It's just a standard (or so I thought) setup. Kodi is running on a Raspberry Pi 3. i built a home server computer to store my media. Emby Server runs on the server. The Emby Addon connects to that, using a wired setup, and I've used all the default settings. Server goes into standby, Pi stay's on. Come home from work, and all settings are lost. I'm going to check tomorrow after I wake up. The server should go back to sleep. I'll see what the settings file looks like and make sure nothing is setup to substitutions. 1 Link to comment Share on other sites More sharing options...
Recommended Posts