(2016-02-23, 18:05)dmdsoftware Wrote: (2016-02-23, 17:26)ashlar Wrote: (2016-02-23, 04:41)ashlar Wrote: What i saw is that caching through the plugin seems slower than using Kodi's cache and "opening it up" through advancedsettings.xml (
http://kodi.wiki/view/HOW-TO:Modify_the_video_cache).
Checking with task manager in Windows we are talking one third the speed with the plugin compared to Kodi's caching (which clearly offers less functionality).
Hmmm... I need to do more tests on this. I'll report back if I can confirm it.
You mean it uses 1/3rd the network bandwidth?
There might be better optimizations with chunk sizing, etc, that I can test. Also, I had to add a sleep that would slow down the caching to allow for KODI to listen for player interrupts. Without the sleep, it seems to miss the player stopping a video interrupt (which I use to stop a download if user sets that up).
Yes, upon further testing it seems that bandwidth gets capped somehow. With both DVDPlayer and DSPlayer. If I access gdrive from NetDrive2 (which basically gets you gdrive as a regular drive on your PC), it has unrestricted bandwidth, so I think it's something in the plugin that limits it. What's strange is that I think it wasn't like this until a few versions ago (when we isolated the problem on cache). I had to do use it without cache but then bandwidth was full. Now it seems capped.
See the following two pics:
This one shows DVDPlayer reproducing a movie through NetDrive2:
This one shows DVDPlayer reproducing the same movie through your plugin:
Your plugin starts fast but then hits a plateau of some sort, whereas with NetDrive2 bandwidth is more or less free to go wherever Google allows it to go.
Edit: This is also interesting. While reproducing the above movie through your plugin, I sought ahead. You can see bandwidth use jumping up for a little while and then settling down on the capped situation.