|
|
#1 |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2020
Device: none
|
In Calibre I can use the clipboard to set metadata via the "Copy metadata" and "Paste metadata" menu entries. If I copy the metadata of a book and paste it into an external application like a text editor I get a formatted output of the copied metadata. Copying this formatted text back to the clipboard I'm not able to paste it back onto a book.
Is there any way to create a clipboard entry in an external application that I'm able to paste as metadata onto a book in Calibre? Regards Kelpman |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,325
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
In the MDE You can copy Comments: (Normal view) and it pastes into apps like NP++ just fine. OTOH I do not use formatting in my comments so YMMV
The command line tool calibre-db --list can export as CSV, but that may not be convenient to use as a single |
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,042
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The clipboard data being pasted into calibre metadata must have been put there by the calibre copy metadata tool; with nothing in between such as a text editor or a clipboard extender. Why, because it's highly structured data in a format that is specific to calibre; text editors, clipboard extenders etc have editing features. The above is based on my observations using Notepad, Notepad++, and Clipboard Fusion from Binary Fortress. I haven't tried pasting from the Windows clipboard history stack, see ==>> How to Enable and Use Clipboard History on Windows 10. I use calibre's metadata copy and paste several times a day, on most days of the week. BR |
|
|
|
|
|
|
#4 | |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2020
Device: none
|
Quote:
I actually got it working by reproducing the XML structure of the copied metadata and changing the MIME data to 'application/calibre-book-metadata'. I was able to easily do this in Python (with PyQt6) and it should also be doable in JavaScript (Clipboard API) and other languages as well. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copy and paste selected metadata | emphyrion | Library Management | 3 | 04-28-2020 06:22 PM |
| Partially Paste Metadata | halloleo | Library Management | 6 | 03-11-2020 04:40 AM |
| plugin to paste an image file from clipboard | dhdurgee | Plugins | 23 | 02-02-2017 03:04 PM |
| [Bug/Strange behavior] Can't paste cover from clipboard to GIMP | Katsunami | Calibre | 9 | 01-25-2017 11:10 AM |
| Copy Metadata to Clipboard | EmilThelonius | Library Management | 7 | 10-15-2016 08:36 AM |