photo library not showing image with JPG uppercase extention #681

Closed
opened 2026-02-06 19:59:11 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @myB0B on GitHub (May 10, 2019).

Describe the bug
In many folders i have images with .jpg and .JPG extention.
images with uppercase extention (.JPG) are not show

System (please complete the following information):

  • OS: Ubuntu 18.04.02
  • Browser: All
  • Jellyfin Version: 10.3.2
  • Reverse proxy: apache2
Originally created by @myB0B on GitHub (May 10, 2019). **Describe the bug** In many folders i have images with .jpg and .JPG extention. images with uppercase extention (.JPG) are not show **System (please complete the following information):** - OS: Ubuntu 18.04.02 - Browser: All - Jellyfin Version: 10.3.2 - Reverse proxy: apache2
OVERLORD added the bug label 2026-02-06 19:59:11 +03:00
Author
Owner

@agrenott commented on GitHub (May 10, 2019):

Good spot, I have the same issue.
At first glance, I think a lower case conversion here might help: c713824bf9/MediaBrowser.Model/Net/MimeTypes.cs (L135)
I'll give it a try.

@agrenott commented on GitHub (May 10, 2019): Good spot, I have the same issue. At first glance, I think a lower case conversion here might help: https://github.com/jellyfin/jellyfin/blob/c713824bf960b1c0d33dde051da6115f329cbca8/MediaBrowser.Model/Net/MimeTypes.cs#L135 I'll give it a try.
Author
Owner

@anthonylavado commented on GitHub (May 11, 2019):

@agrenott That’s interesting... this line shows the dict should be doing an OrdinalIgnoreCase comparison, so I wonder what’s happening:

c713824bf9/MediaBrowser.Model/Net/MimeTypes.cs (L68)

@anthonylavado commented on GitHub (May 11, 2019): @agrenott That’s interesting... this line shows the dict should be doing an OrdinalIgnoreCase comparison, so I wonder what’s happening: https://github.com/jellyfin/jellyfin/blob/c713824bf960b1c0d33dde051da6115f329cbca8/MediaBrowser.Model/Net/MimeTypes.cs#L68
Author
Owner

@agrenott commented on GitHub (May 11, 2019):

That's right, not the proper place. I've started debugging yesterday, didn't find the culprit yet. But I guess it will end up in something similar.

@agrenott commented on GitHub (May 11, 2019): That's right, not the proper place. I've started debugging yesterday, didn't find the culprit yet. But I guess it will end up in something similar.
Author
Owner

@agrenott commented on GitHub (May 13, 2019):

Arg, finally got it, to see it's already fixed by someone else... :)

@agrenott commented on GitHub (May 13, 2019): Arg, finally got it, to see it's already fixed by someone else... :)
Author
Owner

@anthonylavado commented on GitHub (May 15, 2019):

Fixed in 10.4, whenever that will be.

@anthonylavado commented on GitHub (May 15, 2019): Fixed in 10.4, whenever that will be.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#681