mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
photo library not showing image with JPG uppercase extention #681
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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):
@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.
@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)@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 13, 2019):
Arg, finally got it, to see it's already fixed by someone else... :)
@anthonylavado commented on GitHub (May 15, 2019):
Fixed in 10.4, whenever that will be.