-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Episode Thumbnails prior to playback #505
Comments
I can't replicate this. All episode thumbnails are loading correctly for me. I have a suspicion it may be related to your "unverified https" requests that the logs are mentioning. It's possible that some of our requests are missing the right flag to properly ignore that, so you have some connection attempts to retrieve images are failing. Can you try with IP:port, or is this the only connection method to this server that you have? |
@mcarlton00 : thank you for your reply. I went ahead an tried on another device, both connecting on the same server :
It is very strange because the thumbnails are loading now, on this 2nd box. Below are logs for the same jellyfin item. Ubuntu box loads fine, the CoreELEC one fails when trying to fetch the file and to extract from the video file. When using cURL or wget, the file is downloaded. I can also view the file fine in firefox using the same URL. The CFileCache process would start when the file is read, but not before. >> After playback log
What could be the issue? From Ubuntu BoxFrom CoreELEC Box[From CoreELEC Box] Trying to cURL or wget the file from Jellyfin Server - it works
|
Well that doesn't make much sense. Why would it be complaining about unverified https requests but now it isn't? Something must have changed along the way. Does this happen for movies too, or only episodes? Also, when you've gotten a thumbnail to appear, when you restart Kodi is it still there, or has it gone away? |
I did not update the CoreELEC box since. This issue only impacts TV Shows Episode Thumbnails. Movies are fine, even TV Shows other artwork are showing fine... Thanks very much, I appreciate the help :) |
Pithing in since I was redirected from anothe thread where I had a few fiwes to do to my traefik reverse proxy, now I'm having a similar issue : no thumbnail for any tv show can be displayed, and I only get 2 kind of errors in the log :
The first timeout is made to an url that works flawlessly in my browser or even with a local curl command running. I'm running kodi matrix on Windows 10, but encounter the same issue on kodi matrix for Android TV for example... I'm using a valid letsencrypt https certificate with a wildcard, should not impact this, but thought I needed to say cert is valid at least ;) Looking at urllib3 doc where they actually give us the precise link to their doc, I think this should only be a warning anyway, but as you see it reports as an error in kodi, so maybe something is wrong in the way jellyfin plugin calls it ? Any help is very appreciated ! Edit: little clarification : using the direct path mode, I am able to play everything and am even seeing the thumbnails. But the progress playing a file is not beeing transmitted back to jellyfin server, a movie started in kodi and half-watched keeps as unwatched an no option to restart where I left out. This has probably something to do with the spinner that stays in front of the playing movie when starting it and I have to press escape for it to go away... Also probably linked to this in the logs :
(I was playing something at the time...) But when using direct plugin method to play, it's even worse, I almos never get to watch a movie, and never get any thumbnail. Sometime the proper timing in hitting the escapt button after starting a play will result in the movie playing, but I can't reproduce easily. if a dev wants to messege me I could create him/her an account on my jellyfin server that is exposed to the internet if you don't manage to reproduce. I'm running the ghcr.io/linuxserver/jellyfin docker image behing the latest traefik2.4 proxy running in the same docker host. |
So the thumbnails are a bit of a weird case in that we don't download them directly. We put the URLs into the database and then Kodi itself loads them when it's needed. So in that regard it's not something that can be modified or debugged on our end very easily (or possibly at all). The fact that it doesn't work before playback but does work after is a super odd detail that doesn't make any sense to me. Something else to check is when you view an item info if they show up there or not. (Long click/Right click/C on keyboard) and select "Information". I'm beginning to wonder if this is perhaps something platform specific, and different builds of Kodi are behaving differently. ie: it's working correctly on my Arch Linux install, but maybe Android based builds aren't loading properly. |
Contrary to the beginning of this issue, I never get the thumbnail working at all, neither before nor after playing, and nothing on the item info as well. Could very well be platform specific indeed, but at least it affects windows and android builds. I can check on my Ubuntu if I find a package. I'm really no expert in Kodi plugin, but if I understand well and you simply put the url of the thumbnail in the Kodi DB and let it handle everything else, I'm wondering if it's really the way to go since it will cut the jellyfin plugin out of anything to deal with thumbnails. I thought there would be authentication required to access the thumbnails, and indeed if there isn't I would like to add some... Note: I already managed to get the thumbnail working using http (no TLS) and bypassing traefik, but of course this works only on the local network and lets any password and such be transferred in clear text... Will test the Ubuntu version 9f Kodi, but I expect the same error since I already got it on 2 unrelated versions, I doubt I'm just so unlucky. |
There's a lot of nuance here that I'm trying to skip over for the sake of keeping this for relevant information only. There's already a lot of unnecessary and offtopic things here that make it hard to sort though, and we have multiple issues that are bleeding together which isn't helping keeps things straight (traefik, thumbnails, playback, etc). Because there's only one of me, and about half a dozen issues that I'm trying to juggle through, please keep each issue separate and on topic. But yes, the images endpoint is unauthenticated in the server. No, you can't add authentication to that, it will break most clients. It has to be that way right now for other features to work properly. We're not going to get into here anymore than that here. We can change it so that images are downloaded via our addon instead. Eventually we might as the server evolves, but that's a lot of work involving more infrastructure code and database migrations for nearly no benefit right now. The fundamental issue here seems to be some disconnect between Kodi's internal URL retrieval mechanism and the reverse proxy/https endpoint for your servers. Given our previous discussions, I can only assume that traefik isn't behaving properly for some reason that I can't even begin to imagine, and I don't have the time to learn how it works to debug that part for you. I run nginx and everything works perfectly. Tried several linux machines and an android phone. Both https and http. But @hideYourPretzels can replicate it on coreelec, but ubuntu works fine. So that seems to indicate that it's not the reverse proxy itself, but the client device. But if I can't replicate it, I can't fix it. Nothing here makes sense, and since it's not a mission critical feature to have these images load, this is probably going to get sidelined while I try to deal with other more important issues instead. |
I completely understand. Sorry for mixing many topics together, I tend do to that when I'm excited, sorry, and thanks a lot for your clear and calm explanations that completely make sense to me. Thanks again for the incredible reactivity and clarity despite conciseness which I seem not to be able to these days 😉 |
When go in Information > Choose art, I get "Thumbnail" and when I click that item, the first item of the next list is "No art", second is "Browse", so Kodi doesn't seem to see anything really. Bottom of the window says "thumb://None". So no luck here.
I have to agree with you. I too appreciate the time you are taking in debugging this. I tried again tonight to see if reinstalling CoreELEC from scratch would help. It did not. I got the exact same behavior. Meanwhile, I am unexpectedly getting some more life out of this Wetek Hub while I still can, which is a bonus. And if that's the only hick up, oh well ! |
By the way, I also tried installing on an Samsung Galaxy Tab S2 running LineageOS 16.1, Kodi Matrix 19.0 and Addon 0.7.3+py3 and everything is also fine: Thumbs are loading as expected... |
This was driving me mad - on certain platforms (CoreELEC), episode art and fullscreen fanart were randomly not displaying (some art worked, some didn't, and as the OP describes, playing an item encourages the art to load). On other platforms (Android/Windows) everything just worked. It turned out to be an issue with HTTP 2.0 being enabled on my nginx reverse proxy. I thought I had disabled this, but didn't realise that if HTTP 2.0 is enabled for any server block, it is forcibly enabled for all of them (per IP/port?). Disabling HTTP 2.0 resolved all issues, even including another issue where Kodi on an Amazon Fire Stick could not play anything without buffering or terminating playback at random Raised a documentation issue as the example for nginx uses http2: jellyfin-archive/jellyfin-docs#602 Based on the platform variation and the fire stick issue (and considering that also happened when using native mode with 'Shared network folder' set to a HTTPS URL), I don't think this is a Jellyfin-Kodi bug, but instead a Kodi bug |
Describe the bug
When a show's episode is added to Kodi the episode thumbnail, although available in Jellyfin, is not loaded in Kodi.
Other metadata are loaded properly. After a few seconds of playback and stopping, the thumbnail is available in Kodi.
To Reproduce
Expected behavior
Episodes thumbnails should be available in Kodi as soon as they become available in Jellyfin, regardless if the episode has been started or not.
Logs
logs
Screenshots
Before playback
After playback
System (please complete the following information):
Additional context
EDIT: Addon version
The text was updated successfully, but these errors were encountered: