ljunkie / rarflix

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

TV show - missing duration - causes slowdowns #215

Closed ljunkie closed 10 years ago

ljunkie commented 10 years ago

Sometime the plex api doesn't return duration for all episodes. I ended up fixing this by querying the missing items for the length, but this can cause major slowdowns for little benefit.

The main reason is that all videos need a length/duration set to send timelines. So instead of querying every item for length when missing, I should only query the specific item if it's selected to play.

ljunkie commented 10 years ago

moved into the video player

https://github.com/ljunkie/rarflix/commit/56c1d129cad34f1c19f8a178d73d5deebc90a7b8