ShokoAnime / ShokoServer

Repository for Shoko Server.
https://shokoanime.com/
MIT License
413 stars 74 forks source link

Not getting served any thumbnails in ShokoOnPlex #688

Closed SuperFlue closed 7 years ago

SuperFlue commented 7 years ago

Hi, i am not getting any thumbnails in ShokoOnPlex.

image

My setup is this: Docker host with Shoko server and Plex Media Server running in containers. Both containers are connected to each other and the rest of the network via a macvlan docker network. So both containers have their own dedicated IP in the network. Shoko server is also connected to a MariaDB container with an internal network if relevant. Am also using a Windows DNS for name resolution in the network. Shoko Docker image is from the daily branch and last pull and update is 35 hours ago according to Docker.

What i have found out so far: When looking into the XML files that is available under more info on the media files, i found that the thumbnails are supposed to be served with this URL (using dotHack GU trilogy as example): http://shokoserver:8111/api/Image/Thumb/1/5459/0.6667 When opening this address in a browser i am served a 1x1px image (placeholder?). But if i modify the URL to: http://shokoserver:8111/api/Image/1/5459 I am served the image for the series\movie.

2017-10-14.txt Log from Shoko server is here, but it looks to me like the errors is mostly from me messing with the api url....

da3dsoul commented 7 years ago

Thank you. That bit about the URLs is what I needed to fix it

da3dsoul commented 7 years ago

Stand by for said fix

da3dsoul commented 7 years ago

Fixed in 5962a822416636826131a44ac3607d6cc0751b5a

SuperFlue commented 7 years ago

Pulled latest docker image, can confirm that it is fixed here.