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 01-04-2018, 05:44 AM   #466
dsestero
Enthusiast
dsestero began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
Hi David,

any thoughts about my wished features (post #460)?

Thanks,
Dario
dsestero is offline   Reply With Quote
Advert
Old 01-04-2018, 06:47 AM   #467
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 13,702
Karma: 23072932
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by dsestero View Post
Hi,

I would like to ask if it would be possible to make a couple of improvements to the plugin.

1. At this time the plugin retrieve the annotations and inserts, and merges them if needed, into the specified field of the Calibre Library. Having more than one Kindle device, this behaviour reflects what is present in the MyClippings.txt file on the connected device. This is good because it is possible to have clean annotations in the library by having a clean MyClippings.txt file (in Kindle case) on the device.
It happens to me that me or another family member read the same book on different a device and take annotations.
At this time if a book which annotations were previously fetched in the Calibre field is fetched for the annotations taken from a second device then the annotations that are not present on the second, connected, device get deleted from the library.
I would like to ask if it is possible to add a flag to choose from this original behaviour to one where they get merged instead.
What you describe is the way it is supposed to work now. The annotations being fetched are merged with the existing one. It is designed to allow annotations to be fetched from different devices for the same book. It is working for my Kobo devices, and should work on any device. The merge is done after the device specific fetch, so it should work for all devices.

But, I have had in the back of my mind to add an option like this. But, it would be to turn off the merge and do a replace.
Quote:
2. Now the plugin retrieve from the device three different types of annotation: highlightings, notes and bookmarks. The latter results in an empty annotation. They sometimes could be useful, howewer, to keep track in the Calibre library of specific positions of the book.
What I would like to ask is if it would be possible to add three checkboxes to have the plugin retrieve only the selected annotation types.
Yes, that is a good idea. I have to get that language update out before adding any options. I had thought I would have time this week, but...

And my apologies for not replying before. I think I saw this at a time that couldn't test the first point to make sure it worked, and then forgot all about it.
davidfor is online now   Reply With Quote
Old 01-04-2018, 07:09 AM   #468
dsestero
Enthusiast
dsestero began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
Quote:
Originally Posted by davidfor View Post
What you describe is the way it is supposed to work now. The annotations being fetched are merged with the existing one. It is designed to allow annotations to be fetched from different devices for the same book. It is working for my Kobo devices, and should work on any device. The merge is done after the device specific fetch, so it should work for all devices.

But, I have had in the back of my mind to add an option like this. But, it would be to turn off the merge and do a replace.
Thank you David, I will double check it with the latest version.


Quote:
Originally Posted by davidfor View Post
Yes, that is a good idea. I have to get that language update out before adding any options. I had thought I would have time this week, but...
Good to hear it

Ciao,
Dario
dsestero is offline   Reply With Quote
Old 01-04-2018, 08:04 AM   #469
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 13,702
Karma: 23072932
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by BeckyEbook View Post
Sure.
Finally looked at this. It looks like the title in the different places are encoded differently. Or they are just different in one character.


In the OPF file:
Code:
<dc:title>Nie posiadamy się ze szczęścia</dc:title>
In the clippings file:
Code:
Nie posiadamy się ze szczęścia (Karen Joy Fowler)
And in the log, there is:

Code:
DEBUG:   11.7  Book on device title: 'Nie posiadamy siê ze szczêœcia'
My first thought was: Let's get everyone to speak English. But, I know that wouldn't fix things.

But, it looks like an unicode issue like we fixed in the Goodreads plugin. If that is right, then wrapping the titles in the same method used there should fix this. Though finding the right spots to do this will be the thing.
davidfor is online now   Reply With Quote
Old 01-04-2018, 08:36 AM   #470
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 13,702
Karma: 23072932
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Release Candidate (hopefully)

Attached is what I intend to be the release candidate the plugin. This has two changes over the last beta:
  • New: Add support for KindleXRay driver.
  • Fix: Normalize title collected by scanner for matching title and when comparing for confidence calculation.

Unfortunately, I have no way to test either of these changes. I don't have a Kindle device, so can't test the first. But, I'll be surprised if it doesn't work. The second is an attempt to fix the problem BeckyEbook reported with titles not matching. As this seems to be a unicode issue, I have applied the normalize function calibre supplies to the title before the comparison that seems to be the problem.

The rough list of changes over the last release are:
  • Enabled translations. So far there are: German, Spanish, Italian and French.
  • Added support for KFX on Kindles.
  • Added or updated support for Kindles with German or Polish UI languages.
  • Improved annotation matching on Kindles.

As usual, please tell if you find any problems. Or, if it works properly. I'd like to release it officially over the weekend.
Attached Files
File Type: zip Annotations-beta.zip (651.5 KB, 13 views)
davidfor is online now   Reply With Quote
Old 01-04-2018, 08:39 AM   #471
BeckyEbook
Enthusiast
BeckyEbook began at the beginning.
 
BeckyEbook's Avatar
 
Posts: 40
Karma: 10
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
Thank you for looking at this problem.
Even yesterday I checked for another book and it did not work.

I also think that the "confidence" settings are too restrictive for the Kindle.
I suspect that for personal documents downloaded from the cloud on the Kindle, "uuid" is always None, so it's always mismatch.

Please update ParseKindleMyClippingsTxt.py file from #440

Edit again: After testing, I finally understood. The plugin works fine for files sent to kindle directly from calibre. If files was sended from calibre (by e-mail) to cloud and downloaded to ereader -- it does not work.

In the first post I read:
Quote:
Typical Kindle workflow:
[...]
Calibre: Transfer books from calibre to Kindle, either via email, Kindle's experimental web browser, or while directly connected to calibre.

Last edited by BeckyEbook; 01-18-2018 at 05:36 AM. Reason: Addendum
BeckyEbook is offline   Reply With Quote
Old 01-06-2018, 04:57 PM   #472
dsestero
Enthusiast
dsestero began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
Quote:
Originally Posted by davidfor View Post
Attached is what I intend to be the release candidate the plugin.
[...]
As usual, please tell if you find any problems. Or, if it works properly. I'd like to release it officially over the weekend.
Hi,

I tried it on Mac OS X El Capitan with the latest Calibre release and kindle voyage updated with the latest firmware and didn't find any problems.

Ciao,
Dario

Last edited by dsestero; 01-09-2018 at 03:46 AM.
dsestero is offline   Reply With Quote
Old 01-07-2018, 04:59 AM   #473
Nicolas F
Zealot
Nicolas F began at the beginning.
 
Posts: 111
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
Quote:
Originally Posted by davidfor View Post
As usual, please tell if you find any problems. Or, if it works properly. I'd like to release it officially over the weekend.
Works fine on windows 10 with Kobo glo HD.
Nicolas F 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
[GUI Plugin] Open With kiwidude Plugins 328 08-21-2017 12:34 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 403 07-29-2017 02:19 PM
[GUI Plugin] Annotations (closed) GRiker Plugins 68 06-17-2014 07:11 AM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


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


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