Posts: 245
Joined: Nov 2012
Reputation:
7
Wimpie
Senior Member
Posts: 245
Not possible atm, as far as I know...
Add-on :
Bluray iso utils Rewrite of BR_iso_enhancements
Add-on :
BR_iso_Enhancements Give theatrical & directors cut from the same bluray iso each their own library entry, use bluray iso's of tv shows as if they are already ripped.
Posts: 3,901
Joined: Sep 2013
Reputation:
358
What I did was to look for an advancedsettings.xml file - if it doesn't exist we are definitely looking at SQLite3. If it does exist, parse it and see if there is a <videodatabase>
tag. If so, get the connection details for the database. The awkward part here is there will not be a number appended on the end so I used a loop to append a value and just kept decrementing it and trying to connect until it was successful. I would have preferred getting the db info from the jsonrpc, but I don't think it's exposed there anywhere. It also apparently doesn't expose the bookmark info either, else that would have been the way to go.
To connect to MySQL you need to import script.module.myconnpy and make that a dependency in your addon.xml so it gets installed automatically with your plugin.
Learning Linux the hard way !!