ljunkie / rarflix

Plex Roku Channel - original source from https://github.com/plexinc/roku-client-public
MIT License
117 stars 45 forks source link

Preloading Slideshow Images #219

Closed ljunkie closed 8 years ago

ljunkie commented 10 years ago

For one, I need to change the terminology to preload instead of buffer.

10 images are now preloaded. Once we advance to an image and the next image up is not preloaded, another 10 preload requests are sent. I.E. It will request 10 more images on every 10th displayed image. This does give the PMS a break, but it's been requested change this again.

Sounds simple, coding structure/logic will need to change though, so it's a bit larger of a change.

ljunkie commented 10 years ago

Need to verify it doesn't keep trying to preload 10 images if we are getting failures. This code will be a little dependent on the above.