2014-09-28, 19:29
I'm currently writing an addon to access files on a cloud storage provider, so user may access movies/TV shows/music stored on this account.
So I want to make it possible to add them to the local library (as links are stable and does not disappear as long as they are not deleted by user). But so far I didn't found a simple way to do it:
Is it possible to add a plugin:// resource to library directly ?
So I want to make it possible to add them to the local library (as links are stable and does not disappear as long as they are not deleted by user). But so far I didn't found a simple way to do it:
- There is no API to add directly a path into library
- Insert them directly into DB is forbidden by add-on rules (and would be very fragile anyway)
- One solution could be to generate a local strm file and add it to library
Is it possible to add a plugin:// resource to library directly ?