Welcome, Guest
General discussion about ComicRack

TOPIC: Store metadata in zip comment?

Store metadata in zip comment? 9 years 9 months ago #956

I'm wondering if it would be possible to store the metadata in the zip archive comment? My understanding is that the zip archive comment can be updated without decompressing and re-compressing the archive (looking at zipnote.c in the Info-Zip source), so updating the metadata should be trivial.

It wouldn't be as nice as a well-designed, dedicated format (I like the base64-encoded images/xml idea; but, unfortunately even zipped base64-bloated "images" are much larger than jpegs).

Also, I believe the size limit on the comment is 65k, but that should be enough shouldn't it? ;)

Sorry, I meant to post this in feature requests.
Last Edit: 9 years 9 months ago by frogdogshoe. Reason: Posted to wrong sub-forum
The administrator has disabled public write access.

Re:Store metadata in zip comment? 9 years 9 months ago #961

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 676
  • Karma: 181
next release will write data directly into the zip as ComicInfo.xml :P

But it was your post the led me to revisit this issue.
Last Edit: 9 years 9 months ago by cYo.
The administrator has disabled public write access.

Re:Store metadata in zip comment? 9 years 9 months ago #962

That's great to hear! :) Now I must go off to convince other comic book reader developers to read and write the same metadata format! ;)
The administrator has disabled public write access.

Re:Store metadata in zip comment? 9 years 9 months ago #964

  • wadegiles
  • wadegiles's Avatar
  • Offline
  • Gold Boarder
  • Posts: 248
  • Thank you received: 3
  • Karma: 20
Does that mean ComicRack will ignore the alternate data stream or that it will update both the stream and the ComicInfo.xml file?
The administrator has disabled public write access.

Re:Store metadata in zip comment? 9 years 9 months ago #966

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 676
  • Karma: 181
It depends on the comic type.

for cbz/zip files the alternate data stream will be ignored. For other types everything stays the same.
The administrator has disabled public write access.

Re:Store metadata in zip comment? 9 years 9 months ago #967

  • Sopoforic
  • Sopoforic's Avatar
  • Offline
  • Junior Boarder
  • Posts: 25
  • Karma: 0
Do you intend to have CBT work this way in a future version?
The administrator has disabled public write access.

Re:Store metadata in zip comment? 9 years 9 months ago #975

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 676
  • Karma: 181
as it stands i even rolled it back for cbz :(

I've to investigate the issue further. data corruption is a no no. Maybe i fall back to the comment idea.
The administrator has disabled public write access.
Time to create page: 0.203 seconds

Who's Online

We have 238 guests and one member online