LuxTux 12 Posted May 31, 2019 Share Posted May 31, 2019 Hi, Earlier this week I had issues with my emby server being stuck on library scans. This was eventually resolved and i decided to clear my local kodi database as it was full of double entries etc. The sync went as you would expect but when i opened my movie collection or tv shows, no art work was loaded. i checked the settings of the app and saw that i had indeed selected to cache all artwork. When i checked the logs i saw errors like this one: ERROR: Open - failed to open source <http://172.16.20.215:8096/emby/Items/80979/Images/Backdrop/1?Format=original&Tag=4fbd1805166855d92217e0b341c5cd15&EnableImageEnhancers=true> After a few more resyncs and trying to use the latest beta version of the client; i decided to spin up a new vm with a clean install of emby server as i thought it might be an issue with the server. i installed the stable version and did not copy across anything from the "old - beta" server. All the scan went without an issue, i set up a new user for my kodi box and everything seemed fine except still no art work on kodi. I then remembered that in the beta version you could force the caching of artwork. I installed the kodi beta client. when i run cache all artwork, i speeds to 100% and then gets stuck on waiting for threads to exit. I've attached the kodi log and server log. kodi.log server-2019-05-31.txt Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 1, 2019 Share Posted June 1, 2019 (edited) Is the address reachable? If you copy the links to your browser? What if you compare to what's in the emby webclient, what is different with the images displayed? Add-on side, everything looks normal, except that the images are not reachable, but the url formatting looks right. Cache all artwork takes a long time. And it will only go as fast as the device will allow. You have to be patient. But in this case, something is definitely up. Because everything is timing out, it takes a while to go through all 23000 + images. @@Luke I don't have much to go on, is there anything in the server log? Seems to respond correctly to the image request. Edited June 1, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 1, 2019 Share Posted June 1, 2019 The server log looks ok from here. Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 2, 2019 Author Share Posted June 2, 2019 I tried the url (http://172.16.20.222:8096/emby/Items/75079/Images/Backdrop/3 ) and no image or page seems to come up. But when i reduce the url to http://172.16.20.222:8096/emby/Items/75079/Images ; i get the following message: Access token is invalid or expired. Link to comment Share on other sites More sharing options...
sualfred 677 Posted June 2, 2019 Share Posted June 2, 2019 (edited) Please check the complete URL incl. all argumentshttp://172.16.20.215:8096/emby/Items/80979/Images/Backdrop/1?Format=original&Tag=4fbd1805166855d92217e0b341c5cd15&EnableImageEnhancers=true Does this url work in your browser? Edited June 2, 2019 by sualfred Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 2, 2019 Author Share Posted June 2, 2019 I tried with all the arguments and the page remains blank Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) i also had a look at my firewall logs but nothing seems to be blocked between the subnets. to be absolutely sure i temporarily allowed any - any trafic between the two hosts. this did not change anything. I then also tested a wget from another host in the same subnet and also there its not getting any response on the http request the server does the get the request but does not send anything back Edited June 3, 2019 by LuxTux 1 Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 3, 2019 Author Share Posted June 3, 2019 some more testing and i noticed that if i change the url slightly from: http://172.16.20.222:8096/emby/Items/80979/Images/Backdrop/1?Format=original&Tag=4fbd1805166855d92217e0b341c5cd15&EnableImageEnhancers=true to: http://172.16.20.222:8096/emby/Items/80979/Images/Backdrop/1?Format=original&Tag=4fbd1805166855d92217e0b341c5cd15&quality=70 the url works. Are you sure about the last part of the url? 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 4, 2019 Share Posted June 4, 2019 (edited) @@Luke Is there an issue with using EnableImageEnhancers (set to true in this case)? Without it, it works. Maybe it's setting it to true and not having coverart installed? But I'm not seeing this issue myself. @@LuxTux Do you use coverart? Guessing not, looking at your server log. Edited June 4, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 4, 2019 Share Posted June 4, 2019 Setting it to true on the query string is the same thing as not setting it at all. The only way it would be different is if you set it to false. 1 Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 4, 2019 Author Share Posted June 4, 2019 @@Angelblue05 I do have some coverart in the movie folders from a long time ago. i could remove all the png,jpg etc from the movie folders; if that would help. @@Luke when i set EnableImageEnhancers=False the image doesnt appear. If i replace EnableImageEnhancers=True or EnableImageEnhancers=False with quality=70. the image does appear. i found the quality=70 in the webapp. Fun thing is i can i can change the quality parameter to 89 but anything above it, it fails. I checked the resources used on the emby server vm and its hardly doing anything . 1 Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 4, 2019 Share Posted June 4, 2019 Try putting the url into a browser and see what you get. Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 4, 2019 Share Posted June 4, 2019 I would also get rid of format=original Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 4, 2019 Author Share Posted June 4, 2019 I did try it via browsers and nothing appears, just like with wget. Even with format=original removed; EnableImageEnhancers=True, EnableImageEnhancers=False and quality=90 dont work Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 4, 2019 Share Posted June 4, 2019 Server log? Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 4, 2019 Author Share Posted June 4, 2019 here you go, i tried all the options with wget (Wget/1.19.4 (linux-gnu)) and you will see only quality=90 work. server-2019-06-04.txt Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 4, 2019 Share Posted June 4, 2019 what was the content of the response? Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 4, 2019 Author Share Posted June 4, 2019 (edited) an image (JPG) was only returned with the url ending in quality=70 (anything below 90) Edited June 4, 2019 by LuxTux Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 5, 2019 Share Posted June 5, 2019 so you got a valid image? Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 5, 2019 Author Share Posted June 5, 2019 yes and was able to open them, but only twice as you can see in the logs: 2019-06-04 21:37:06.167 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?Format=original&tag=2489430d9899b0ccdc4a3378f070a2df&quality=70. UserAgent: Wget/1.19.4 (linux-gnu) 2019-06-04 21:37:06.312 Info HttpServer: HTTP Response 200 to 192.168.0.75. Time: 146ms. http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?Format=original&tag=2489430d9899b0ccdc4a3378f070a2df&quality=70 ... 2019-06-04 21:38:16.198 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?tag=2489430d9899b0ccdc4a3378f070a2df&quality=88. UserAgent: Wget/1.19.4 (linux-gnu) 2019-06-04 21:38:16.235 Info HttpServer: HTTP Response 200 to 192.168.0.75. Time: 37ms. http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?tag=2489430d9899b0ccdc4a3378f070a2df&quality=88 and all these requests never gave a response: 2019-06-04 21:36:01.114 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?Format=original&tag=2489430d9899b0ccdc4a3378f070a2df&EnableImageEnhancers=True. UserAgent: Wget/1.19.4 (linux-gnu) .. 2019-06-04 21:36:29.885 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?Format=original&tag=2489430d9899b0ccdc4a3378f070a2df&EnableImageEnhancers=False. UserAgent: Wget/1.19.4 (linux-gnu) .. 2019-06-04 21:37:16.096 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?Format=original&tag=2489430d9899b0ccdc4a3378f070a2df&quality=90. UserAgent: Wget/1.19.4 (linux-gnu) 2019-06-04 21:37:45.782 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?tag=2489430d9899b0ccdc4a3378f070a2df&quality=90. UserAgent: Wget/1.19.4 (linux-gnu) .. 2019-06-04 21:38:51.128 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?tag=2489430d9899b0ccdc4a3378f070a2df&EnableImageEnhancers=True. UserAgent: Wget/1.19.4 (linux-gnu) 2019-06-04 21:39:21.690 Info HttpServer: HTTP GET http://172.16.20.222:8096/emby/Items/76294/Images/Backdrop/1?tag=2489430d9899b0ccdc4a3378f070a2df&EnableImageEnhancers=False. UserAgent: Wget/1.19.4 (linux-gnu) Link to comment Share on other sites More sharing options...
Luke 37099 Posted June 5, 2019 Share Posted June 5, 2019 you're saying the get requests hung? Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 5, 2019 Author Share Posted June 5, 2019 Yes thats what im saying. the request is seen by the server but no response is given according to the logs of the server. 1 Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 6, 2019 Author Share Posted June 6, 2019 Any suggestions @@Luke or @@Angelblue05 what i could do? Test something? Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 6, 2019 Share Posted June 6, 2019 (edited) @@LuxTux Since your issue seems related to your Emby server, Luke will have to confirm this. I'm only the dev for Emby for Kodi and a regular Emby user for everything else Quick question however, without removing enableimageenhancers from the url, does adding &quality=70 to it make it work? Edited June 6, 2019 by Angelblue05 1 Link to comment Share on other sites More sharing options...
LuxTux 12 Posted June 7, 2019 Author Share Posted June 7, 2019 yes @@Angelblue05 1 Link to comment Share on other sites More sharing options...
Recommended Posts