Quote:
Originally Posted by GRiker
@At_libitum, the iOS reader applications plugin uses its own internal architecture independent of calibre. Any method beginning with an underscore is a local method. Methods beginning with a letter are required by calibre's plugin architecture.
_view_book() is a local method - you would need to replace it or modify it in your overlay.
G
|
That much I gathered, and that was what I did with _view_book(), including a local copy as the term 'overlay' had caused me to assume these same named methods were overriding the ones in device.py. Apparently I am mistaken. But then how do I make the code also actually use my version of _view_book() when pressing V in device view? Do I need to go up the chain and also include a local copy of view_book() ?