For some reason i'm not getting an accurate seek bar in Plex using WebVideoURL. (E.g. start the video & hit pause) The episode object in the __init__ code is getting the correct duration from the API. The duration of the episode does display correctly when listing the episodeobjects. However when i start the video, the duration bar at the bottom doesn't have a duration listed. It just lists the time elapsed.
Does that mean that the duration of the video isn't being passed from the episodeobject? Do i need to pass the duration in the MediaObjectsForURL() service code? I'm not really sure of how to do this without slowing the entire process down. I would have to add an HTTP request into that function that would slow it waaaaay down. Or does it get this information from the MetadataObjectForURL() function? At the moment, i don't have anything inside that function. I haven't really seen the point up to this point.
I guess i just don't understand why Plex isn't showing the duration of my video even though i declared it in the episodeobject.
Thanks!