2022-04-25, 14:58
Hi,
I have being trying to link my KODI setup to external video service.
I have full control on the external service , so i have build a http directory service that get exposed to KODI via video source (using http directory list).
After several bumps on the road, i managed to get it working.
Only issue i have left is that KODI insists on requesting the files whiling listing the directory.
The directory list is does not contain "real" files of a file system , each request execute code on the server and returns a URL for kodi to play, it plays just file by naming the files with .strm extension.
Each request takes about 0.5 to 2 seconds, so for 5 items it takes KODI about 3-4 seconds to show , my list needs to have about 200-300 items.
My question , is there a way to instruct KODI not to download the files at all while listing the directory ? or by some instruction in the .strm response to instruct kodi not to inspect the supplied URL ?
I hoped there is some difference between "real" play command and "inspection" command , but did not find any in the request headers. (requests seems the same , so i can not ignore "inspection" requests)
I hope this is a correct place to post this question, please advice if its not.
Thanks in advance.
Little update , tried using my "video source" via file manager ,over there KODI does not reuqest each item from the server while listing , so over there it works perfectly.
I have being trying to link my KODI setup to external video service.
I have full control on the external service , so i have build a http directory service that get exposed to KODI via video source (using http directory list).
After several bumps on the road, i managed to get it working.
Only issue i have left is that KODI insists on requesting the files whiling listing the directory.
The directory list is does not contain "real" files of a file system , each request execute code on the server and returns a URL for kodi to play, it plays just file by naming the files with .strm extension.
Each request takes about 0.5 to 2 seconds, so for 5 items it takes KODI about 3-4 seconds to show , my list needs to have about 200-300 items.
My question , is there a way to instruct KODI not to download the files at all while listing the directory ? or by some instruction in the .strm response to instruct kodi not to inspect the supplied URL ?
I hoped there is some difference between "real" play command and "inspection" command , but did not find any in the request headers. (requests seems the same , so i can not ignore "inspection" requests)
I hope this is a correct place to post this question, please advice if its not.
Thanks in advance.
Little update , tried using my "video source" via file manager ,over there KODI does not reuqest each item from the server while listing , so over there it works perfectly.