View Single Post
Old 12-24-2014, 03:34 AM   #273
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I understand you perfectly. There are two problems here. First, the 7zip files will not work because pbimageviewer does not support them. Secondly, files whose names end with ".zip" don't work because the Library app will not pass them through to pbimageviewer.app. I think it automatically handles the .zip and .rar files itself, and ignores what is in the extensions.cfg file. .zip files should be renamed to .cbz, and .rar to .cbr.

Renaming everything to .cbz should be okay for the ZIP and RAR files, as long as the "magic number" inside each file is good. The contents of RAR files should start with "Rar!", and the contents of ZIP files should start with 'P', 'K', 0x03, 0x04. Those files will be autodetected and opened properly. I'm afraid that there is nothing I can do about the 7zip files right now. You will have to convert them to ZIP or RAR files yourself if you want to read them with the current version of pbimageviewer.app. I'll take a look at adding support for 7zip archives, but it depends on if there is a library available for Linux, and if its API supports the necessary operations for the viewer.
rkomar is offline   Reply With Quote