05-13-2017, 10:56 AM | #76 |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Hello,
I've been theming Calibre for some time and I see that your plugin doesn't support theme. Would you consider adding it? I'm not a developer, but looking at how other plugins achieve that I made a working version with theme enabled (I added common_utils.py taken from another plugin that allow icon theming and I changed get_icons in your ui.py to use the get_icon from common_utils.py). Code might not be perfect since what I did was mostly copy and paste and deleting un-needed parts. Thanks Last edited by Nicolas F; 05-15-2017 at 09:47 AM. Reason: Code example deleted since Dickloraine implemented the feature |
05-15-2017, 08:44 AM | #77 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Hi,
I added support for theming. Thanks for the code example, it was very easy to implement the feature. I renamed the icon file too, to make the name more meaningfull. Have fun |
Advert | |
|
05-15-2017, 09:46 AM | #78 |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Thanks for you work (your execution is definitely better!)
|
06-25-2017, 04:39 AM | #79 |
Member
Posts: 10
Karma: 10
Join Date: Aug 2016
Device: Samsung S6 Phone
|
I'm getting an error converting CBR to CBZ.
ImportError:cannot import name RARFile calibre, version 3.1.0 ERROR: Unhandled exception: <b>ImportError</b>:cannot import name RARFile calibre 3.1 [64bit] embedded-python: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.12+ Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: FictionDB (1, 0, 10) && Extract ISBN (1, 4, 4) && Diaps Editing Toolbag (0, 3, 4) && Modify ePub (1, 3, 13) && Fantastic Fiction (1, 2, 0) && Search The Internet (1, 7, 6) && SmartEject (2, 0, 6) && FanFicFare (2, 13, 0) && NormComment (0, 0, 2) && Reading List (1, 6, 6) && Read MP3 AudioBook metadata (1, 0, 79) && Find Duplicates (1, 6, 3) && Barnes & Noble (1, 2, 14) && Overdrive Link (2, 14, 0) && Goodreads (1, 1, 12) && Embed Comic Metadata (1, 3, 6) && Clean Metadata (0, 0, 6) && User Category (1, 5, 3) && EpubMerge (2, 1, 0) && Kobo Books (1, 2, 1) && Overdrive Link* (2, 14, 0) Traceback (most recent call last): File "calibre_plugins.EmbedComicMetadata.main", line 59, in convert File "calibre_plugins.EmbedComicMetadata.main", line 115, in iterate_over_books File "calibre_plugins.EmbedComicMetadata.main", line 145, in convert_to_cbz File "calibre_plugins.EmbedComicMetadata.comicmetadata" , line 285, in convert_cbr_to_cbz ImportError: cannot import name RARFile So an error related to the CBR file name. Not sure how that would be effected and this is the first time this error has occurred for anyone here apparently. |
06-25-2017, 06:26 AM | #80 |
creator of calibre
Posts: 44,569
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
RARFile does not exist anymore in calibre 3.1. Instead use
from calibre.utils.unrar import extract to extract into a directory, and then zip it up again. |
Advert | |
|
06-25-2017, 11:21 AM | #81 | |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Quote:
This plugin now requires calibre 3.1.1. If someone needs older versions of the plugin, all prior versions are available via the github-page of the plugin: https://github.com/dickloraine/Embed...adata/releases |
|
06-30-2017, 05:47 AM | #82 |
Member
Posts: 10
Karma: 10
Join Date: Aug 2016
Device: Samsung S6 Phone
|
It does work now for every CBR archive I throw at it. The only anomaly is one specific series of archives to a manga series that refuses to convert. (All in English, no Jap characters.) I have no clue why either since it shows up with a similar error to before. 99% working is still much better than none. Just converted them manually.
|
09-29-2017, 09:48 AM | #83 |
Junior Member
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Calibre
|
Hi, I'm not able to count pages with cbz that contain webp images. It works with jpg and pngs.
|
09-30-2017, 08:48 PM | #84 |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
|
10-07-2017, 06:51 AM | #85 |
Junior Member
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Calibre
|
Thank you for adding webp and the other formats.
I have found one bug that makes it so that it doesn't process the cbz. If an "&" is present in the comicinfo.xml it shows this error. I just changed the "&" to anything else and it accepted it. Code:
Traceback (most recent call last): File "calibre_plugins.EmbedComicMetadata.ui", line 96, in main_menu_triggered File "calibre_plugins.EmbedComicMetadata.main", line 33, in import_to_calibre File "calibre_plugins.EmbedComicMetadata.main", line 115, in iterate_over_books File "calibre_plugins.EmbedComicMetadata.main", line 18, in _import_to_calibre File "calibre_plugins.EmbedComicMetadata.comicmetadata", line 77, in get_comic_metadata_from_file File "calibre_plugins.EmbedComicMetadata.comicmetadata", line 375, in get_comic_metadata_from_cbz File "calibre_plugins.EmbedComicMetadata.comicinfoxml", line 49, in metadataFromString File "xml\etree\ElementTree.py", line 1311, in XML File "xml\etree\ElementTree.py", line 1653, in feed File "xml\etree\ElementTree.py", line 1517, in _raiseerror ParseError: not well-formed (invalid token): line 3, column 24 |
11-20-2017, 03:56 PM | #86 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2017
Device: none
|
Hello,
i'm a new user of Calibre. I was previously using ComicRack app as my main comics database management, but this app seems not updated anymore... I find Calibre to be quite usefull to manage Comics and this is a lot due to your plugin that allows migration of ComicRack metadata into Calibre. Thanks a lot for that. As new user i've got 3 remarks that could be, in my opinion, usefull in the plugin : 1 - when reading author's names from the several available fields (writer, designer, inker, color, lettering, ...) could be efficient to collect all these names in Calibre main "Authors" field --> this would allow to get a single category to search from in categories menu. 2 - could also be interesting to collect in a "writer" user defined field the "writer" field (instead of collecting it in "Authors") ==> this could allow to display "writer" instead of "author" field name in book detail area 3 - finally, would be usefull to extract (not sure that it is easy ...) a page size (in pixels) from cbz or cbr file (lets say value extracted from page #5. Not 1st one as it is cover and could be at different definition) ==> this could allow to display in book detail area quality of pages (for instance "2560x3570 pix") Thanks again for your great work. |
11-26-2017, 02:07 AM | #87 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: Android Tablet
|
Love the idea of this plugin, but i think it should go above and beyond what ComicRack info is stored in the file (the creator of ComicRack is something of a d**k when it comes to allowing people to store ALL metadata information in a comic book file, he only allows the ones he thinks makes sense and to me more data makes more sense than less, information can always be deleted but never recovered once lost). I personally like every possible piece of info available stored in my comic files. So I hope you don't mind that I'm going to modify this plugin to work how i want and maybe release a copy of my modifications later down the line. I appreciate you making this and giving me an idea of how to get it done so i can get to where i want to be (with custom fields and everything imported)
I mean seriously stuff like ISBNs and comprehensive Release Dates (not just month and year but actual Release Dates Month, Day & Year) should be stored in the damn files (that's a damn no brainer!!) And anything else I want to store as well!!! I used to use ComicRack but having moved to linux Calibre makes more sense than trying to run ComicRack on Wine/Mono. But I still want all that data I stored in ComicRack and I want it to be pulled to Calibre (comprehensively, not limited by base metadata by Calibre). Last edited by NobahdiAtoll; 11-26-2017 at 02:16 AM. |
12-01-2017, 12:37 PM | #88 | |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Quote:
I won't change the current behavior, but you can achieve what you want with a custom column build from other columns. Just fill your custom column with the data from all the different creators fields. 3: I would have to look into it, maybe in a future version. |
|
12-01-2017, 12:40 PM | #89 | |
Guru
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
|
Quote:
|
|
12-01-2017, 06:20 PM | #90 |
Junior Member
Posts: 5
Karma: 10
Join Date: Nov 2017
Device: none
|
Thanks for your reply !
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Zotero Metadata Importer | DaltonST | Plugins | 291 | 08-07-2023 01:38 PM |
[GUI Plugin] Comicalibre - Comic Vine metadata processor | Pewsplosions | Plugins | 1 | 12-18-2022 10:16 AM |
[GUI Plugin] Clean Metadata | WS64 | Plugins | 28 | 01-06-2022 09:09 PM |
Call fetch/download metadata from GUI plugin | BeckyEbook | Development | 0 | 02-03-2017 07:51 PM |
Getting custom metadata field in GUI plugin | SauliusP. | Development | 7 | 02-11-2012 02:31 AM |