(boilerplate stolen

)
FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.
(don't laugh too hard if it blows up, it is my first PI hack

)
Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins.
This version needs to be tested with the existing calibre.
Let me know if it is a disaster and I will destroy the evidence
UPDATE: try 2 (was a disaster also: evidence destroyed

)
Tnx jackie