Solved A way to handle dynamic url
#1
Is there's a way to catch and substitute the filepath of the selected item to play before it actually starts playing?

Ideally, I was wondering if it was possible to insert a placeholder in the database, get that placeholder and return the appropriate url/path to play. Or what would be the best way to accomplish this, if the filepath is dynamic? I hope it makes sense? Smile
Reply
#2
That idea is theoretically breaking the way kodi works, I doubt anyone will help you out.
The library however works fine with .strm files, so probably that's what you are looking for. Just add a strm file to you library containing the path to your plugin. The plugin when called will do whatever you want. That way you won't mess up with kodi database.
Reply
#3
Ok! It's good to know. I was wondering if there was any other option than strm. Thanks enen92 Smile
Reply

Logout Mark Read Team Forum Stats Members Help
A way to handle dynamic url0