Jump to content

Cache all artwork - 4.0.25a


LuxTux

Recommended Posts

LuxTux

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

Angelblue05

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 by Angelblue05
Link to comment
Share on other sites

sualfred

Please check the complete URL incl. all arguments
http://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 by sualfred
Link to comment
Share on other sites

LuxTux

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

 

5cf55b807a3d9_screenshot2.png

 

the server does the get the request but does not send anything back

 

5cf55b96a7e86_screenshot1.png

Edited by LuxTux
  • Like 1
Link to comment
Share on other sites

LuxTux

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?

  • Like 1
Link to comment
Share on other sites

Angelblue05

@@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 by Angelblue05
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

LuxTux

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

 

5cf6be4f61fe8_screenshot.png

  • Like 1
Link to comment
Share on other sites

LuxTux

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

LuxTux

an image (JPG) was only returned with the url ending in quality=70 (anything below 90)

Edited by LuxTux
Link to comment
Share on other sites

LuxTux

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

LuxTux

Yes thats what im saying. the request is seen by the server but no response is given according to the logs of the server.

  • Like 1
Link to comment
Share on other sites

Angelblue05

@@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 by Angelblue05
  • Like 1
Link to comment
Share on other sites

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