NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 … 93 Next »
How to tell when video playback has finished in web client?

 
  • 0 Vote(s) - 0 Average
How to tell when video playback has finished in web client?
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#1
2015-09-25, 01:19 PM
In NPVR, I can subscribe to the Event notifications to determine when a video launched from my plugin has finished playing. Is there a way to do this in the (X-NEWA) web client since it does not seem to fire this event? Basically, I would just like to refresh my plugin screen when it "returns" from video playback. Thanks.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
Joined: May 2006
#2
2015-09-25, 03:06 PM
webclient playback is not tied to the media playback API sub would problem need to add some functions for start and stop.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#3
2015-09-29, 03:31 PM
sub, any chance you could hook this up?
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#4
2015-09-29, 04:06 PM
Unfortunately it doesn't know when the video playback finishes when it's watched via webclient, so there is no way for me to send notification.

NextPVR tells the webclient to start playback of a particular file, but isn't really involved in the playback from them on, and doesn't receive any notification from the webclient on progress, including completion or stop. We might be able to ask the webclient developers to add something to let us know when playback completes, but there isn't anything currently for this.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
Joined: May 2006
#5
2015-09-29, 07:37 PM
sub Wrote:Unfortunately it doesn't know when the video playback finishes when it's watched via webclient, so there is no way for me to send notification.

NextPVR tells the webclient to start playback of a particular file, but isn't really involved in the playback from them on, and doesn't receive any notification from the webclient on progress, including completion or stop. We might be able to ask the webclient developers to add something to let us know when playback completes, but there isn't anything currently for this.

No problem if you add something. I was thinking just sending ctrl-s but that would cause havoc in the recording screen.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#6
2015-09-29, 07:52 PM
I might need to introduce a new notification url that webclients can call to let the app know about various events occurring.
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#7
2015-09-29, 08:07 PM
That would be great. Hopefully you can also consider adding something to enable passing metadata about the file to played to be displayed in Kodi's OSD as discussed here: http://forums.nextpvr.com/showthread.php...post494267
Thanks.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,780 2021-10-22, 06:58 PM
Last Post: sub
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,344 2021-03-11, 03:59 PM
Last Post: mvallevand
  Extras device - using hardware video encoder gdogg371 6 3,189 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,395 2021-03-07, 09:20 PM
Last Post: Syler
  Developing Android TV client fred250 2 1,782 2020-11-16, 06:33 PM
Last Post: fred250
  Resuming a video imilne 28 14,412 2016-10-30, 09:27 PM
Last Post: mvallevand
  Web Client: Slow with separate thread and date not obscured cncb 32 15,733 2016-10-10, 02:01 PM
Last Post: mvallevand
  VIdeo playback from plugin mvallevand 5 3,431 2015-08-06, 10:43 PM
Last Post: sub
  How to get edl information for videos in a web client? fred250 27 10,487 2014-12-10, 12:39 AM
Last Post: fred250
  Remote client logout timeout. mvallevand 2 2,510 2014-10-28, 12:55 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode