I am working on two addons, that need to operate on a common data base.
First addon is a service addon that repeatedly scans a folder for existence of symbolic links to the vdr recording directory for video conversion, the other addon is a script addon that can be invoked to select one or multiple recordings and places a link/links in the scan folder.
Since I haven’t found a way to combine both add ons into a single one, I am looking for a way to share data between the two. I am currently thinking of reading the path location of the service addon via JSON-RPC and then read the settings.xml file directly (the settings file contains the path to vdr recordings and scan directory).
Any hint is welcome also if you think this can be achieved in a better, easer fashion.