10-13-2016, 09:58 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Oct 2016
Device: none
|
Import to Calibre from file path
Hi!
Is there a (simple) way to import an Ebook to Calibre with the full qualified file path programmatically? Something like calibre.import(filepath)? I would like to do the same as when I am drag and drop an Ebook to Calibre gui. Thx! |
10-13-2016, 10:12 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
https://manual.calibre-ebook.com/db_...ache.add_books
And use the calibre.ebooks.metadata.meta.get_metadata fucntion to get the Metadata object needed by the above. |
Advert | |
|
10-13-2016, 11:56 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Oct 2016
Device: none
|
And once again that what exactly what I was missing because I used the db interface before but I didn't know how to get the mi from a plain ebook! Thx!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Import PDF & File Naming | zeitchef | Library Management | 3 | 11-17-2015 10:30 PM |
calibre library error No such file or directory after import | tsavino | Calibre | 2 | 06-06-2014 03:20 PM |
FINDING FILE PATH IN CALIBRE | Berni | Calibre | 3 | 02-05-2011 10:10 AM |
PRC file doesn't fully import into Calibre | MSJim | Kindle Formats | 1 | 06-01-2010 02:55 PM |
Calibre doesn't import all of PRC file | MSJim | Calibre | 5 | 06-01-2010 02:26 PM |