View Single Post
Old 09-06-2012, 01:35 PM   #1
hakan42
Zealot
hakan42 is on a distinguished road
 
hakan42's Avatar
 
Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
How to access "database" from a plugin

Hi,

In a plugin I am writing, I need to access the "database" object from database2.py, using that reference to access metadata, authors and titles through it. Sadly, my Python-Fu is severely lacking so I can't find a way to do this. Could anyone give me a pointer where to look?

Regards,
Hakan
hakan42 is offline   Reply With Quote