docker-xbmc-server
docker-xbmc-server copied to clipboard
thumbnails always re-cached and not shown over UPnP
Hi,
because I think the most "docker-kodi-headless" containers are forked from yours I try to place my question at the "root"
I already tried out different versions like https://github.com/Celedhrim/docker-kodi-server or https://github.com/linuxserver/docker-kodi-headless and of course your version, all showing the same behaviour about thumbnails:
- thumbnails getting cached just fine in the thumbnails folder when browsing movies or whatever on the kodi-webserver-gui but they are never used and are re-cached when refreshing pages on the webserver - I can delete the folders within the thumbnail folder and/or the Textures13.db, the thumbnails folders fill up but are always re-cached over and over again
- maybe it has something to do with the first issue because I can't get the thumbnails to be showed over UPnP - you mention:
What do the patches do? I discovered that the UPnP server in XBMC was very unstable, and crashed when browsing the library in headless mode. The problem was with thumbnail generation for some videos. The patches provided in this repo are automatically applied when compiling for headless mode, and allows xbmc to run without crashing.
could it be a reason of those patches?
Thank you
I have little time to maintain this project so various previous committers forked as there seems to be a need for dockerized kodi.
I haven't noticed recaching for my own system, though I don't use the webserver that much. The patch I made fixes a dependency on libpng for generating thumbnails from video files. Though somewhere in that dependency it requires a working X11 (desktop environment) for some reason. The patch simply disables generating a thumbnail from video. So posters/shows etc should not be impacted.
Does this answer help you?
I guess generating thumbnails from video can be also controlled in guisettings.xml or advancedsettings.xml
<myvideos>
<extractthumb>false</extractthumb>
</myvideos>
but because all of my images/thumbnails are scrapped and available this should not have any influence
imo the mistake happens when a hash# is created for the image
21:21:19 T:139919624234752 DEBUG: Received request to serve '9BD6C0F8F6B3E2E4FEF716B4C17CC006/79349-28.jpg' = 'image://http%3a%2f%2fthetvdb.com%2fbanners%2ffanart%2foriginal%2f79349-28.jpg/' 21:21:19 T:139919624234752 WARNING: Platinum [platinum.media.server.file.delegate]: NPT_CHECK failed, result=-20005 (NPT_ERROR_NO_SUCH_ITEM) [(ServeFile(request, context, response, NPT_FilePath::Create(m_FileRoot, file_path)))] 21:21:19 T:139919624234752 INFO: Platinum [platinum.core.http.servertask]: PLT_HttpServerSocketTask::Write HTTP/1.1 404 Not Found Content-Disposition: inline; filename="" Date: Fri, 16 Oct 2015 19:21:19 GMT Content-Length: 132 Content-Type: text/html Server: UPnP/1.0 DLNADOC/1.50 Kodi
The UPnP Server can't find the images
I can't remember (it was a while back) but does extractthumb also affect the webserver/upnp server? I think that was the reason I had to disable it.
The 404 for the UPnP server is the patch at work and working as intended, what is the mistake?