View Single Post
Old 02-01-2022, 03:40 PM   #1103
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,238
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by stefano.sb View Post
Hi, I tried to add three new check mobi controls into Quality Check plug-in ver 1.12.0. Attached my modified version (1.12.1)
  • Check MOBI7 type -> it controls if the ebook is an MOBI7 file type (in Calibre corresponds to converting to MOBI using the "OLD" value in the MOBI Output-> Mobi file type option)
  • Check MOBI8 type -> it controls if the ebook is a MOBI8=KF8 file type (in Calibre corresponds to converting to MOBI using the "NEW" value in the MOBI Output-> Mobi file type option)
  • Check MOBI7+MOBI8 type -> it controls if the ebook is an MOBI7+MOBI8 file type (in Calibre corresponds to converting to MOBI using the "BOTH" value in the MOBI Output-> Mobi file type option)

I used some python code that I have taken from KindleUnpack - The Plugin Calibre plugin. All my changes start with a #SS-add START comment and finish with #SS-add FINISH. I have modified these python files:
  • __init__.py
  • config.py
  • check_mobi.py

I am not a good python programmer so I ask you to please test it and if you like, update or optimize the code as well

Stefano
Please chjange the wording to for the Kindle eBooks.

Mobi7 = Mobi
Mobi8 = KF8
Mobi7 + Mobi8 = Dual-Mobi

That way you get the terminology correct. The only one that is correct is Mobi7 but it can also be called Mobi (correctly).
JSWolf is offline   Reply With Quote