View Single Post
Old 05-14-2021, 06:49 AM   #3
lrpirlet
Connoisseur
lrpirlet began at the beginning.
 
Posts: 96
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
Problem-Solution... Evolution of the plugin

  • Got a problem with

Code:
SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)
For a possible solution, have a look over entry #7 by PeterT (thanks PeterT)


  • Request for improvement: let me chose the volume

Thinks I have been trying to allow the reader to choose what volume to select, that I could NOT solve.

I tried to make the pluggin to display all the volumes... When Calibre finds several metadata about a book, then those metadata do get merged, even if nfsr_id is different... (git branch push_top_vol_indx-from-worker-to-__init__ in the sources)

I tried to make the pluggin display the volumes presentation page to allow the reader to choose the volume... that does not seems possible in the metadata plugin context (git branch interractive_mode_via_spawn_and_que in the sources)

  • a possible solution to select a particular volume (more like a workaround)

Set the nsfr_id to point to the desired url... see entry number #8


A new version (V 0.9.5) of this plugin replaced v0.9.3. It is available here while testing goes. This will be removed when I publish version 1.0.0.
I feel it is needed as testing proved that refactoring of choice was a necessity (and a few bugs fixed... and some improvements added).

A new version of this plugin (v 0.9.6) corrects the algoritm for the publication date.

  • some new functionality and version (v 1,0,0)

Now, to add or modify an id , just copy and paste the newly selected url on the icon to the left of the ids field in the metadata editor... See the entry #13

  • Some new functionality and version (v 1,2,0)

The added functionnality in v1.0.0 wasn't working sometimes due to inconsistencies in the character case ( https://www.noosfere.org/livres/niourf.asp?NumLivre=<nbr> or
https://www.noosfere.org/livres/niourf.asp?numlivre=<nbr> were used ?randomly?)... fixed

I designed a better detection of the numeration of the series that will now give a number when several omnibus editions exists in a series.
vol_serie_seq : (omn1) ==> 0.1
vol_serie_seq : 2a ==> 2.01
vol_serie_seq : 2bis ==> 2 (sorry, I could not think of a way to show "bis" in a float expression that would be unique.)
Accessorily when a book in a series is missing an arrow to point an adjacent volume, this new code bypasses the problem (https://www.noosfere.org/livres/niou...?numlivre=4757)

Code is more modular, less "spaghetti"

Previous versions
Attached Files
File Type: zip noosfere DB (v 0.9.3).zip (196.9 KB, 628 views)
File Type: zip noosfere DB (v 0.9.5).zip (207.4 KB, 602 views)
File Type: zip noosfere DB (v 0.9.6).zip (208.7 KB, 602 views)
File Type: zip noosfere DB (v1.0.0).zip (209.6 KB, 541 views)

Last edited by lrpirlet; 05-12-2023 at 11:12 AM. Reason: more infos about this pluggin
lrpirlet is offline   Reply With Quote