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.
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.