View Single Post
Old 12-19-2020, 12:48 PM   #4
chris33
Enthusiast
chris33 began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Sep 2020
Device: ipad, kobo libra 2
Thumbs up

@JimmXinu
Thank you for your tips.
Actually this is what I did more or less and ended with using :
class InterfacePlugin(InterfaceAction):
and overloading :
def library_changed(self, db):
To get a LibraryDatabase object.
Unfortunately it doesn't seem to have a way to get the name from it.

After trying to use the self.gui.iactions method I didn't see before, I added this and it works perfectly.
Thank you very much for your help
chris33 is offline   Reply With Quote