View Single Post
Old 12-22-2020, 11:57 AM   #26
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by BetterRed View Post
I used the old standalone scrambler a bit in calibre 3 times, and I'd forgotten you had to scrap it when calibre 4 was released - I assumed there'd be cmdline options.

There was an inkling of an idea behind wanting know about the options. Looks like if I uncheck everything, except "Remove some descriptive metadata", it might get rid of dc:description, dc:subject and dc:identifiers, but leave the the book unscrambled - which is what I was hoping for.
The main purpose of the CLI these days is to scramble (to MR rules) a book which is just in the OS rather than visible to the calibre GUI. The number of users who actually do this is probably miniscule. The ones who actually also edit the scramble rules - even smaller. As you can see from this thread, there has been a lack of discussion about it in the 5 years since initial launch.

Having said that ... Did you try temporarily installing the plugin and running it from the commandline using a test book with edited scramble rules as per your inkling? Did it give you a modified OPF which you'd be happy with? If so, there is still some standalone residual code in the plugin which could be very simply hacked in your personal copy of the plugin's scrambleebook.py file to permanently remember your new personal scramble rules.

If you want to pursue this then let me know and I can tell you what needs to be done. However, IMHO, if you wanted to go down the hack-an-existing-plugin route I suspect hacking one of Modify Epub's metadata options might be more fruitful, especially if you want to bulk modify OPFs.
jackie_w is offline   Reply With Quote