2020-05-29, 00:08
I'm trying to understand if it's possible to have play queue items that call my addon back in order for it to properly resolve e.g. the URL to a network resource just-in-time? For instance by using a custom URL scheme in the queued items that points back to my addon, like: "myaddonscheme://the.original?url&encoded=somehow"
The existing addon that I'm looking at has a performance problem where it tries to completely parse every entry of a youtube playlist in an eager way in order to make them immediately playable by Kodi. I would like to defer that work to the time that a queued item is actually due to play, thereby doing the minimal amount of work in a lazy way and spreading out the unreasonably large performance hit.
The existing addon that I'm looking at has a performance problem where it tries to completely parse every entry of a youtube playlist in an eager way in order to make them immediately playable by Kodi. I would like to defer that work to the time that a queued item is actually due to play, thereby doing the minimal amount of work in a lazy way and spreading out the unreasonably large performance hit.