![]() |
#1486 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#1487 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If you add a lot of 'new' authors, then you might want to consider automating the above via a plugin, or an Action Chain what's-it. I don't add new authors that often, so I have no need for automation. My 'biggest' task wasn't the inter-library links, it was 'moving' the data out of the MHT files I exported from Evernote into the columns of 1,440 'books' in my Authors library. I used the MHT files to create the 'books' in the Authors library. BR |
|
![]() |
![]() |
![]() |
#1488 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, I thought that was the way but I was not sure if there was an automated way. As I have a whole library with authors, that is not polished, I think I'll keep it for a future development... or I'll think for the future authors and I'll explore from there (I already copy through a plugin new authors to the authors library).
|
![]() |
![]() |
![]() |
#1489 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The code below generates links to a book for every author in the database. The output is 2-column CSV where column 1 is the author name and col 2 is the link. Code:
from calibre.library import db as DB import posixpath lib_path = sys.argv[1] lib_name = '_hex_-' + posixpath.basename(lib_path).encode('utf-8').hex() db = DB(path = lib_path, read_only=True) cache = db.new_api # Loop through all the books in the library author_info = cache.author_data() for auth_id in author_info: auth_books = cache.books_for_field('authors', auth_id) print('"{}",calibre://show-book/{}/{}'.format( author_info[auth_id]['name'], lib_name, str(next(iter(auth_books))))) Code:
calibre-debug -e script.py path-to-library
Last edited by chaley; 01-16-2021 at 05:06 PM. Reason: Forgot script argument to calibre-debug |
|
![]() |
![]() |
![]() |
#1490 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#1491 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#1492 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#1493 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you! I already have the authors extracted, now to load them.
|
![]() |
![]() |
![]() |
#1494 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
|
I submitted an enhancement request that got denied, so I'm hoping someone here could be of assistance.
I'd love to have additional access to the wonderful new URIs. 1. A keyboard shortcut to copy the link to show/open a book to clipboard 2. A right click context menu option to do the same. Is there any existing plugin or other option for doing something like this? |
![]() |
![]() |
![]() |
#1495 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,039
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If you're not already aware, you can right-click on the details pane to copy the Calibre links.
![]() |
![]() |
![]() |
![]() |
#1496 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
|
Quote:
Edit: looks like kovid reconsidered and added keyboard shortcuts that are off by default but can be customized. I suppose they'll be in tomorrow's release! Last edited by nixsee; 02-04-2021 at 07:41 AM. |
|
![]() |
![]() |
![]() |
#1497 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Is there a plugin that allows me to have a book in multiple series? For example, Dana Stabenow has two active series -- Kate Shugak and Liam Campbell. The 19th book in the Kate Shugak series is also the 5th book in the Liam Campbell series. Ideally, I'd like to be able to list it as "Kate Shugak [19.0],Liam Campbell [5.0]" in the series column.
|
![]() |
![]() |
![]() |
#1498 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,013
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
Quote:
|
|
![]() |
![]() |
![]() |
#1499 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Create two books with same title and author but different series, putting the format file(s) into what I regarded as the 'primary book'. And then cross reference and share the content via a calibre://show-book and calibre://view-book links in a #related/Related long text column. As a reminder to click the view_book link to read the content, colour the book line if it has no formats. BR |
|
![]() |
![]() |
![]() |
#1500 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
And then use Grouped search terms (Preferences / Searching / Grouped searches) to combine the standard and custom series columns together for searching.
|
![]() |
![]() |
![]() |
Tags |
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 Any ideas what this might be? | Neupy | Sony Reader | 4 | 07-03-2012 07:19 AM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Ideas? | mike_bike_kite | Which one should I buy? | 10 | 06-13-2010 03:37 PM |
Ideas | F1Wild | Amazon Kindle | 4 | 07-10-2009 06:01 AM |