Posts: 41
Joined: Dec 2012
Reputation:
8
i created a plugin that plays national geographic content. all the videos stop exactly at 1 min and 1 sec. the length of the videos don't matter, they can be 45 min or 2min but all videos stop at 1:01. happens in xbmc and vlc.
is there a solution for this
Posts: 793
Joined: Oct 2010
Reputation:
17
There's probably a "keep alive" running somewhere on the page. The server disconnects the session if it doesn't hear from the keep alive every minute.
Once you find the keep alive, start emulating it at the OnPlaybackStarted() event and stop at the OnPlaybackEnded() event
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
Another possibility is that the Nat Geo site is doing something to make it difficult to play their videos outside of using a web browser. The existing National Geographic add-on and the National Geographic "channel" on the Free Cable add-on have been broken for some time and a solution seems to be elusive.