Problem with duration of a WebVideoURL

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!

I _think_ that's what is happening is that the way the WebVideoURL is being played back it doesn't have control over pausing/ff/rew and in those cases then you just get the simplified timeline (showing time played only).  Just a guess, but I've seen that happen before.  You might have to do more stuff with your site config to get it fully working (if it's even possible).  Sander knows more about this stuff than I do, I'm a site config newbie ;)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.