Jellyfin Forum
Tv episode thumbnails not recognised - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Tv episode thumbnails not recognised (/t-tv-episode-thumbnails-not-recognised)

Pages: 1 2


Tv episode thumbnails not recognised - Atlantiantokra - 2024-09-23

I want custom episode images to display in nextup/continue watching but only if I have custom images, if there aren't custom images I want to use the show's thumbnail.
Previously I achieved this because the image priority is(was?):
show-thumb>episode-thumb>backdrop>show primary
If I had custom episode thumbnails then I just placed the episode thumbnails into the folder containing the episode then deleted the show and season thumbnails and everything displayed just fine.


All episode primary images used to be saved as \tvshow\season\metadata\filename.ext.jpg but now episode primaries are being saved as \tvshow\season\filename-thumb.jpg which is the file path previously used by episode thumbnails.
When using the UI to select an episode's thumbnail it doen't get saved to the shows folder anywhere which means the only way I've found to make this work is to go onto every individual episode in the UI and add the images manually, I don't really want to do that because the shows I want to use custom thumbnails for tend to be ones with a lot of episodes.

If the change of episode image path isn't a bug and was intentional then what name and path do I now need to use to get jellyfin to identify images in the folder as episode thumbnails?


RE: Tv episode thumbnails not recognised - TheDreadPirate - 2024-09-23

What OS is the server running? If Linux, there are commands you can use to mass rename the images. Same with Windows.

Or you can use external tools, like Tiny Media Manager, to do things like that.


RE: Tv episode thumbnails not recognised - Atlantiantokra - 2024-09-23

Oh, I already know how to mass rename images. I'm asking what I need to rename them to because the filename formats stated in the documentation (episode filename-thumb.jpg) doesn't work, jellyfin recognises the images as primary images not thumbnails. I also tried using "episode filename-landscape.jpg" those images weren't recognised at all.


RE: Tv episode thumbnails not recognised - TheDreadPirate - 2024-09-23

"episode filename-thumb.jpg" works for me.  But I had to enable it on the client.

   


RE: Tv episode thumbnails not recognised - Atlantiantokra - 2024-09-23

The setting you're talking about forces jellyfin to use the episode primary image for every episode of every TV show regardless of any other images associated with them.
"episode filename-thumb.jpg" despite the tag -thumb is not the thumbnail image anymore it is the primary image.

In the screenshot I've attatched there is the textless primary image and the thumb with the episode title.
Previously the file path jellyfin created after adding the images manually were:
  • Primary - \tvshow\season\metadata\episode filename.jpg
  • Thumb - \tvshow\season\episode filename-thumb.jpg
After updating the jellyfin created paths are now:
  • Primary - \tvshow\season\episode filename-thumb.jpg
  • Thumb - Unknown

Without using the setting jellyfin looks for images to use in a specific order.
episode-thumb >show-thumb>season thumb>show backdrop>show primary
image with title>show-thumb>season thumb>show backdrop>textless image

Because I don't know the new path that jellyfin is expecting for episode thumbnails I have to add them manually in the UI for each episode one at a time, jellyfin still uses thumbnails in the same way it just doesn't recognise the old file path as a thumbnail anymore.

edit: corrected file priority order and added season thumbs


RE: Tv episode thumbnails not recognised - theguymadmax - 2024-09-23

Try landscape.ext in the season folders or in main folder for the same custom image.


RE: Tv episode thumbnails not recognised - Atlantiantokra - 2024-09-23

(2024-09-23, 04:39 PM)Atlantiantokra Wrote: I also tried using "episode filename-landscape.jpg" those images weren't recognised at all.
landscape.ext in the main folder is the show-thumbnail
landscape.ext in the season folder is the season-thumbnail


RE: Tv episode thumbnails not recognised - theguymadmax - 2024-09-23

Just landscape.jpg not including filename. That would set a custom image for the whole folder.


RE: Tv episode thumbnails not recognised - Atlantiantokra - 2024-09-23

Yes that is the season-thumbnail or the show-thumbnail and they both still work as expected and as you said for the whole folder.

Edit: I just tried making a seperate folder for just the episode. Jellyfin is saving the episode images into the folder but is still saving the primary image as "episode filename-thumb.jpg"

Edit2: I've just found the episode folder with the server data and the custom images are being saved correctly there but using those folders to edit the images en-masse is even less practical than the UI.
I also checked the nfo file to see if the images are being written into that, they're not and any attempt to add the thumb field will not cause the image to load and the line is deleted if the nfo is changed by jellyfin.


RE: Tv episode thumbnails not recognised - theguymadmax - 2024-09-23

https://github.com/jellyfin/jellyfin/blob/cb8f01065a03a5ba546c1ff33c7452d81c32da62/MediaBrowser.Providers/Manager/ImageSaver.cs#L522

Code:
                if (type == ImageType.Primary && item is Episode)
                {
                    path = Path.Combine(Path.GetDirectoryName(item.Path), filename + "-thumb" + extension);
                }

It's going to set the primary image has the thumb according this code. It was part of this PR. I'm still not clear on exactly what you are trying to accomplish, so I'm not sure if this is a bug or not.