Welcome, Guest
Python Scripts for ComicRack

TOPIC: ComicBookInfo Injector

Re: ComicBookInfo Injector 6 years 8 months ago #12235

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Surfal666 wrote:
600WPMPO wrote:
:( No luck yet..Do I have to do anything further?
Well, did you follow the instructions for installing the additional modules?
Specifically which additional modules do I have to install? :unsure:



The PPM shows them all as installed..
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12243

  • Surfal666
  • Surfal666's Avatar
  • Offline
  • Senior Boarder
  • Posts: 64
  • Thank you received: 4
  • Karma: 2
Please review docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html again.

The list of required modules is on the script page at frcooper.com/wrk/cbii/.
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12245

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Surfal666 wrote:
The list of required modules is on the script page at frcooper.com/wrk/cbii/.

Requirements: Archive::Zip, DateTime, DateTime::Format::Strptime, Error, and JSON.
Ok.. I got these and installed them via ppm.

As I had not yet got the option in the context menu, I ran the script via command prompt, and this is the error message that I got:
Could not find cb-xmltocbi.xml in C:\Program Files\Perl\site\bin\ at C:\Program
Files\Perl\site\bin\cb-xmltocbi.pl line 25
What next? :unsure:
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 6 years 8 months ago by 600WPMPO.
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12246

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
I get the same error! (I have 64 bits version of Active Perl)
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12248

  • Surfal666
  • Surfal666's Avatar
  • Offline
  • Senior Boarder
  • Posts: 64
  • Thank you received: 4
  • Karma: 2
Well, that error really means that it worked, but no cbz was specified. (yeah, bad programmer, no cookie...)

For a more complete proof of this, run cb-xmltocbi.pl "full path to some file.cbz" and it should work properly.

I'm kinda stumped about the context menu item not appearing. Can you redownload and merge the CBII.reg file please?
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12258

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Surfal666 wrote:
For a more complete proof of this, run cb-xmltocbi.pl "full path to some file.cbz" and it should work properly.
I ran this command with the full path of a cbz, but it did not make any difference.
Surfal666 wrote:
I'm kinda stumped about the context menu item not appearing. Can you redownload and merge the CBII.reg file please?
I remerged the reg file.. still no luck :(
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12274

I'm running XP and the reg merge worked fine, but when I select InhjectInfo, there's no effect (seemingly). Should I be seeing an additional .xml file or does the existing one get updated?

EDIT
Whoop, nm, got it to work (had to figure out how to see the packages I didn't have installed. once I did and installed them, worked like a charm). Looks like this is some data embedded in the .zip itself? Pulled from the comicinfo.xml, I assume? Very cool, wonder if you could elaborate? Seems like someone (you? :)) could write a python script to do the same from within CR
Last Edit: 6 years 8 months ago by DouglasBubbletrousers.
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12278

Boy, comic book lover is a great example of an app that shows a lot of promise but has some very basic elements that aren't addressed. The formatting of the books' descriptors is a bit odd, if there is no embedded zip data it doesn't attempt to parse the file name, it always reverts to a default view, menus aren't super navigable, etc. Seems like what I'd want in a reader that has better metadata/sorting capabilities, but not quite there yet
The administrator has disabled public write access.

Re: ComicBookInfo Injector 6 years 8 months ago #12281

  • Surfal666
  • Surfal666's Avatar
  • Offline
  • Senior Boarder
  • Posts: 64
  • Thank you received: 4
  • Karma: 2
Yeah the ComicBookInfo metadata is stored as a zipfile comment. I linked to the spec from the script's webpage.

Python's zipfile module doesn't support zipfile comments in any build that I've ever found, so I've playing around with importing the 7z.dll and using that instead. I'm sure that if I just spend some focused time on it, it can be be done.

CBL could certainly be improved, but I prefer it to ComicZeal.

If I'm unemployed much longer, I might just write my own Comic reader app.
Last Edit: 6 years 8 months ago by Surfal666. Reason: Clarity; Expanded Answer
The administrator has disabled public write access.
The following user(s) said Thank You: DouglasBubbletrousers

Re: ComicBookInfo Injector 6 years 8 months ago #12286

I'm rooting around for some homebrewed modules to see if that can be done, but I agree the standard module doesn't seem to have an option for this
The administrator has disabled public write access.
Time to create page: 0.213 seconds

Who's Online

We have 238 guests and 4 members online