Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2023, 03:50 AM   #16
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Now that I know why it's happening, I can live with it while you're looking into it. I only reach for the Copy->All book details feature occasionally - my libraries have sub 10 sec startup times, so the occasionally retard isn't much of a hardship.

I'll come back if I spot any other differences between Wide and Narrow.

BR

Last edited by BetterRed; 05-09-2023 at 03:55 AM.
BetterRed is offline   Reply With Quote
Old 05-09-2023, 04:21 AM   #17
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
99% sure my problem is caused by having the book details panel UNDER the book list, if I put it to the left of the book list I get a plain text BD with newlines when I right click BD and select Copy->All book details.

Perhaps someone can confirm by changing Prefs->L&F>General->User interface layout to Narrow and try coffee and pasting Book details.

BR
Confirmed.
chaley is offline   Reply With Quote
Advert
Old 05-09-2023, 04:33 AM   #18
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I can also confirm that the latest push to book_details.py doesn't fix it.
chaley is offline   Reply With Quote
Old 05-09-2023, 05:23 AM   #19
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@kovid: the problem is the table embedded in a table in narrow view. If I skip the outermost <td> when simplifying the HTML then it sort-of works. By 'sort-of' I mean that the output has line breaks etc but isn't the same as one gets in wide view. Another problem: passing to do_copy() whether it is narrow or wide -- this seems to require a signature change. Better would be to encode this into the HTML, perhaps as an identifier in the extra <table>.

I don't follow the HTML manipulations you are doing and am not skilled with etree etc, so I think me trying to fix it correctly will just waste your time.
chaley is offline   Reply With Quote
Old 05-09-2023, 06:21 AM   #20
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@kovid, @chaley - on reflection, what I'd prefer is a newline separated 'dump' of all column header names and values in header name order irrespective of how the embedded or free-standing Book Details panels are configured.

Maybe via a "Copy book metadata" item in the Book details menu.

And… I don't have to change the User interface layout to get a side panel BD, I can just press K or I and copy from the pop-up BD. Why didn't I try that in the first instance

BR

Last edited by BetterRed; 05-09-2023 at 06:31 AM. Reason: And…
BetterRed is offline   Reply With Quote
Advert
Old 05-09-2023, 11:33 AM   #21
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BetterRed View Post
Perhaps someone can confirm by changing Prefs->L&F>General->User interface layout to Narrow and try coffee and pasting Book details.
I set the layout to narrow and restarted calibre. The result was much what you were seeing. Wide in the first spoiler, narrow in the second spoiler. Was it okay if I had tea instead of coffee?

Spoiler:

Authors: David Weber
Series: VII of Honor Harrington - Worlds of Honor
Formats: EPUB
Folder: Book files
Finished: Finished
Word Count: 111,166
Pages: 279
### Comments:
The hottest military science fiction series of all time continues. The mission: to boldly explore David Weber’s Honorverse; to deliver all the action, courage, derring-do, and pulse-pounding excitement of space naval adventure with tales set in a world touched by the greatness of one epic heroine—Honor Harrington.
New Honorverse tales by Timothy Zahn & Thomas Pope, Jane Lindskold, Jan Kotouč, and Joelle Presby. Plus “First Victory,” an all-new novella by David Weber!
At the publisher's request, this title is sold without DRM (Digital Rights Management).



Spoiler:
Authors: David Weber Series: VII of Honor Harrington - Worlds of Honor Formats: EPUB Folder: Book files Finished: Finished Word Count: 111,166 Pages: 279
### Comments:
The hottest military science fiction series of all time continues. The mission: to boldly explore David Weber’s Honorverse; to deliver all the action, courage, derring-do, and pulse-pounding excitement of space naval adventure with tales set in a world touched by the greatness of one epic heroine—Honor Harrington.
New Honorverse tales by Timothy Zahn & Thomas Pope, Jane Lindskold, Jan Kotouč, and Joelle Presby. Plus “First Victory,” an all-new novella by David Weber!
At the publisher's request, this title is sold without DRM (Digital Rights Management).
DNSB is online now   Reply With Quote
Old 05-09-2023, 12:36 PM   #22
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...f416aa9bb89c9b
kovidgoyal is offline   Reply With Quote
Old 05-09-2023, 12:48 PM   #23
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Thank you!
DNSB is online now   Reply With Quote
Old 05-09-2023, 06:36 PM   #24
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Currently multi-value columns (e.g. Authors, Tags, Formats etc) on Copy->All book details, are concatenated with no separators - i.e. Tags displayed as "Banking, Economic History, Economics, Political Science" is copied as "BankingEconomic HistoryEconomicsPolitical Science".

The Copy->All book details term is potentially misleading- it only copies those columns that are displayed in the book details panel. So, I still think there's a need for something that provides a 'dump' of all metadata for a book - perhaps as Tab separated "Header, Value" pairs that can be read into something like CSVFileView, Excel, Calc etc.

BR
BetterRed is offline   Reply With Quote
Old 05-09-2023, 09:39 PM   #25
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That was only if you had them displayed on separate lines and is now fixed. There is already a copy metadata action in the edit metadata menu if you want to copy all metadata. This one is designed to copy the text from the book details panel only. And if you want to export data in CSV/XML etc use the create catalog tool.
kovidgoyal is offline   Reply With Quote
Old 05-10-2023, 01:14 AM   #26
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
That was only if you had them displayed on separate lines and is now fixed. There is already a copy metadata action in the edit metadata menu if you want to copy all metadata. This one is designed to copy the text from the book details panel only. And if you want to export data in CSV/XML etc use the create catalog tool.
That's the one I've been looking for. I use it often enough, but never looked to see what shape its output used, I assumed it was a machine readable format, i.e. JSON, XML, whatever.



BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: book-details link to book with no cover BetterRed Library Management 1 04-21-2023 09:49 PM
Clickable Book IDs on Book details pane Comfy.n Calibre 26 04-11-2023 02:38 PM
Stop seeing book details when I open a book in Android Jo69 Android Devices 5 03-27-2021 05:41 AM
Copy book details pastes with space or page break dunhill Calibre 2 08-11-2020 09:12 PM
Calibre:Book Cover size in Book Details side pane & Edit Metadata Individually window Volfer Calibre 3 01-05-2016 01:56 PM


All times are GMT -4. The time now is 01:59 AM.


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