PlayOn Plugin - duration for hulu video

I have been using the PlayOn plugin ( http://wiki.plexapp.com/index.php/PlayOn ) and it has been working great. I have run into one issue when playing hulu streams in that the duration of the hulu stream is 21:00, but when you add hulu commericials, it is really 23:30 or more and the last 2-5 minutes of the show is cut off.



Now the fun stuff— I have edited the __init_py file and added 20 minutes to the duration attribute and the display in plex works great and shows the duration with the additional time added. The problem is, that when I play the video, the seekbar goes back to the original show length and I still lose the last 5 minutes.



All code is on the github site. Here is what I changed:



inside __init_py, changed duration to:

duration = int(((hours * 60 * 60) + (mins * 60) + ( 20 * 60 ) + secs) * 1000)



Additional information - Playon trans codes hulu on the fly and creates a m3u8 file that is played by plex.



Any help would be great

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