Plugin module has no attribute '__databasePath'
Note: I'm using Framework v1In PMS/Plugin.py, function __run:
Database.__databasePath = "%s/Databases/%s.db" % (supportFilesPath, Identifier)
So the database path is set on the Database module itself.
But in PMS/Database.py, function __loadDB:
shouldCreate = not os.path.exists(Plugin.__databasePath)<br />
__db = sqlite3.connect(Plugin.__databasePath)
it looks for that path on the Plugin module.
And it is not found. And it fails.
Am I missing something?
I'm trying to make use of Database.Exec() in my plugin's handlers...
That looks like a framework bug, probably introduced during refactoring between v0 and v1. I’ll get a fix deployed soon.