coryo / ComicReader.bundle

Plex Media Server channel for comic archives.
137 stars 8 forks source link

Uppercase jpg filetype inside cbr #14

Open Riivz opened 6 years ago

Riivz commented 6 years ago

Found a issue where Plex ComicReader plugin didn't recognize my cbr file. Cbr file was shown in the list but when I opened it, it was blank. Problem was that my cbr file had IronMan028-00.JPG files inside. After renaming them to IronMan028-00.jpg the comic was shown correctly. Btw same thing goes for CBR files. If the cbr file is in uppercase its not shown in the list.

inside cbr file before renaming (didn't work) IronMan028-00.JPG IronMan028-01.JPG IronMan028-02.JPG

inside cbr file after renaming (works) IronMan028-00.jpg IronMan028-01.jpg IronMan028-02.jpg

plex If you could fix that, it would be great. Otherwise I have so many files to rename manually :)

killkong1211 commented 5 years ago

That's because the file extensions accepted by the plugin's are defined manually and only the lower case have been done. You need to change the \Contents\Code\utils.py Same applies if you've having issues with the uppercase archive formats, but they're in \Contents\Code\archives.py

I'll attach fixed files for you to replace in the \Contents\Code directory and from there you should be sweet

Code.zip