Jump to content


Photo

MB BookShelf: How can I show metadata from .CBZ

bookshelf meta

  • Please log in to reply
12 replies to this topic

#1 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 10 November 2013 - 09:31 AM

I have some Comics saved with ComicRack they are .cbz files with the ComicInfo.xml inside the .cbz 

But I see no info and or Covers on my MB what did I wrong?

 

See the ComicInfo.xml:

<?xml version="1.0"?>
<ComicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Title>Nabuko Donosor Loopt Voor De Voeten</Title>
  <Series>De Avonturen Van Urbanus</Series>
  <Number>049</Number>
  <Genre>Humor</Genre>
  <PageCount>33</PageCount>
  <Pages>
    <Page Image="0" ImageSize="887887" ImageWidth="1238" ImageHeight="1751" Type="FrontCover" />
    <Page Image="1" ImageSize="411628" ImageWidth="1142" ImageHeight="1704" />
    <Page Image="2" ImageSize="752187" />
    <Page Image="3" ImageSize="751608" />
    <Page Image="4" ImageSize="796084" />
    <Page Image="5" ImageSize="777599" />
    <Page Image="6" ImageSize="786943" />
    <Page Image="7" ImageSize="792737" />
    <Page Image="8" ImageSize="820029" />
    <Page Image="9" ImageSize="790186" />
    <Page Image="10" ImageSize="756773" />
    <Page Image="11" ImageSize="741008" />
    <Page Image="12" ImageSize="756722" />
    <Page Image="13" ImageSize="775928" />
    <Page Image="14" ImageSize="781187" />
    <Page Image="15" ImageSize="767359" />
    <Page Image="16" ImageSize="738407" />
    <Page Image="17" ImageSize="741337" />
    <Page Image="18" ImageSize="770587" />
    <Page Image="19" ImageSize="763907" />
    <Page Image="20" ImageSize="757558" />
    <Page Image="21" ImageSize="773083" />
    <Page Image="22" ImageSize="788950" />
    <Page Image="23" ImageSize="751696" />
    <Page Image="24" ImageSize="732666" />
    <Page Image="25" ImageSize="760677" />
    <Page Image="26" ImageSize="766117" />
    <Page Image="27" ImageSize="742001" />
    <Page Image="28" ImageSize="765946" />
    <Page Image="29" ImageSize="718555" />
    <Page Image="30" ImageSize="716206" />
    <Page Image="31" ImageSize="749844" />
    <Page Image="32" ImageSize="872478" />
  </Pages>
</ComicInfo>


#2 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5083 posts
  • Local time: 12:26 PM
  • LocationBritish Columbia, Canada

Posted 10 November 2013 - 12:56 PM

MBBookshelf doesn't have the ability to extract the comicinfo.xml from the archive. The file has to be external.

 

So far the only tags that are read are Title, Summary, Publisher, Writer. I should look at adding Genre and Series.



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134617 posts
  • Local time: 03:26 PM

Posted 10 November 2013 - 01:08 PM

Apparently a CBZ file is just a zip file. You might be able to extract using the IZipClient interface



#4 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 10 November 2013 - 01:11 PM

Thanks for your reaction so When  save the .xml separate from the .cbz it Should work and do I have to save the cover also?



#5 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5083 posts
  • Local time: 12:26 PM
  • LocationBritish Columbia, Canada

Posted 10 November 2013 - 01:33 PM

Alwin, yes for now you'll need to save both the cover and xml separate from the file.

 

Luke. I knew that cbz's were zips.and cbr's are rar files. Do you think the iZipClient might support rar too, or is that just wishful thinking. I've been trying to avoid embedding any external libraries in a server plugin, so I'd love a solution that doesn't require that.



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134617 posts
  • Local time: 03:26 PM

Posted 10 November 2013 - 01:35 PM

i'm not sure. try it and let me know.



#7 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 10 November 2013 - 01:59 PM

Thanks again for now I extract my files and put those files separate to the cbz. I hope You'll find a solution to extract this info from the cbz or cbr :) in the future 



#8 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 11 November 2013 - 05:42 AM

Unfortunately, I can't get the Metadata visible. I have the XML extracted from the cbz and stored as comicname.xml no luck, saved as comicname-ComicInfo.xml still no luck what is the right way?.
When I manually import into the web interface he data is visible and remembered but I don't see a saved xml or something similar. Please help me again..
 
Hope you understand my terrible English  :P


#9 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5083 posts
  • Local time: 12:26 PM
  • LocationBritish Columbia, Canada

Posted 11 November 2013 - 08:46 PM

Are all your comic issues in one directory, or do you have one directory per issue?



#10 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 12 November 2013 - 03:48 AM

All comics are in one directory

#11 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5083 posts
  • Local time: 12:26 PM
  • LocationBritish Columbia, Canada

Posted 12 November 2013 - 04:01 AM

when I wrote that xml provider I only wrote it to support each comic in a folder of it's own. I'll remedy that in a release in the near future.



#12 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 12 November 2013 - 04:31 AM

Ah that's explains it :-) ok I'll wait for a future release thanks after-all for all your help and work.



#13 AlwinHummels OFFLINE  

AlwinHummels

    Advanced Member

  • Members
  • 410 posts
  • Local time: 09:26 PM
  • LocationThe Netherlands

Posted 14 November 2013 - 08:51 AM

Strange behavior when I put my Comics in separate folders.

It gets metadata from the Vinescraper but instead of folder.jpg I get folder.octet-stream files when I manual rename this files to folder.jpg it seems to be correct but I don't like to do 500+ commics manual :) hope you can fix this also :-) I Know it seems like I'm the only one who use this function :)







Also tagged with one or more of these keywords: bookshelf, meta

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users