Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2017, 04:39 PM   #76
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 626
Karma: 7543718
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
No, this plugin does not fetch metadata from external sources. It reads and writes metadata in the comic file itself. The url column was a feature request and just reads the comicvine link in the metadata.

To get metadata from comic vine, I only know of external programs. ComicTagger and ComicRack both can do this. I for example use comic tagger to download metadata into the comic files and then use this plugin to import the metadata to calibre.

Gesendet von meinem Lenovo TAB 2 A10-70F mit Tapatalk
dickloraine is offline   Reply With Quote
Advert
Old 05-13-2017, 09:56 AM   #77
Nicolas F
Connoisseur
Nicolas F began at the beginning.
 
Posts: 71
Karma: 10
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 08:47 AM. Reason: Code example deleted since Dickloraine implemented the feature
Nicolas F is offline   Reply With Quote
Old 05-15-2017, 07:44 AM   #78
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 626
Karma: 7543718
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
dickloraine is offline   Reply With Quote
Old 05-15-2017, 08:46 AM   #79
Nicolas F
Connoisseur
Nicolas F began at the beginning.
 
Posts: 71
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
Thanks for you work (your execution is definitely better!)
Nicolas F is offline   Reply With Quote
Old 06-25-2017, 03:39 AM   #80
dennocoil
Junior Member
dennocoil began at the beginning.
 
Posts: 8
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.
dennocoil is offline   Reply With Quote
Advert
Old 06-25-2017, 05:26 AM   #81
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 31,434
Karma: 8154029
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.
kovidgoyal is offline   Reply With Quote
Old 06-25-2017, 10:21 AM   #82
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 626
Karma: 7543718
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
Quote:
Originally Posted by dennocoil View Post
I'm getting an error converting 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.
This should be fixed with the new version.

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
dickloraine is offline   Reply With Quote
Old 06-30-2017, 04:47 AM   #83
dennocoil
Junior Member
dennocoil began at the beginning.
 
Posts: 8
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.
dennocoil is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Writer Plugin] KePub Metadata Writer jgoguen Plugins 53 06-26-2016 02:35 AM
Failed to embed metadata mihal.v Library Management 6 07-11-2015 12:21 PM
embed metadata option mytrivo Library Management 3 06-24-2015 01:34 AM
Regarding using metadata objects in identify method of metadata download plugin api aprekates Development 1 07-06-2014 03:35 AM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM


All times are GMT -4. The time now is 03:12 AM.


MobileRead.com is a privately owned, operated and funded community.