NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 9 10 11 12 13 … 93 Next »
NMT Video Playback - does it receive start/stop events

 
  • 0 Vote(s) - 0 Average
NMT Video Playback - does it receive start/stop events
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#1
2012-07-15, 08:56 PM
Or more precisely does the nextpvr controlled by the popcorn hour see these events?

Most interested in the Stop playback event. I'm getting the impression it doesn't fire when play back stopped on a popcorn hour.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#2
2012-07-15, 09:17 PM
You should get a PLAYBACK_STOPPED event when playback of a recording is stopped or completes.

Maybe not when playing a non .ts file though. I cant remember what happens with these types of files.
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#3
2012-07-15, 09:18 PM
yeah it's the non .ts files that I'd be interested in (coming from plex)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#4
2012-07-15, 09:23 PM
I dont think that'd generate an event when file playback completes, but with Martin's help I can probably add something.
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#5
2012-07-15, 09:25 PM
I was thinking about just setting watched on start playback, but it'd be nice to capture the stop.

Not sure if you'd want to stretch to how far through you are? Like with a .ts.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,309
Threads: 865
Joined: May 2006
#6
2012-07-15, 09:25 PM
Yes I just did a quick check here on a .AVI and saw both PLAYBACK_STOPPED and PLAYBACK_ENDED

Martin
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#7
2012-07-15, 09:29 PM
mvallevand Wrote:Yes I just did a quick check here on a .AVI and saw both PLAYBACK_STOPPED and PLAYBACK_ENDED

Martin

Hm, ok, I'll have to look at my logging and see if I'm seeing in on my plex plugin.
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#8
2012-07-15, 09:37 PM
ahh ok, seems it's my fault, in the event I'm getting a 0 for duration (because it's an NMT) and so not setting the watched status because it's not 50% of the way through. Ok, I might fix that, since I'm manually setting watched after watching something.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,309
Threads: 865
Joined: May 2006
#9
2012-07-15, 10:01 PM
It wouldn't be hard for me to send back the end location if sub made use of it.

Martin
« 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 719 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 1,501 2021-03-09, 12:18 AM
Last Post: gdogg371
  Extra Events jcole998 1 866 2021-03-08, 02:48 PM
Last Post: mvallevand
  Loading Local Video Files Syler 25 3,600 2021-03-07, 09:20 PM
Last Post: Syler
  Plugins and NPVR. Where do we start? sub 80 59,522 2020-11-26, 10:02 PM
Last Post: mandai
  Resuming a video imilne 28 12,005 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 3,433 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 2,672 2015-08-06, 10:43 PM
Last Post: sub
  I want to start developing plugins...but how? OrenShapir 6 3,231 2014-11-18, 10:38 PM
Last Post: mvallevand
  Absolute newbie trying to realize an idea - where to start? Oopsjoppe 13 4,179 2013-11-11, 05:33 PM
Last Post: Oopsjoppe

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

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

Linear Mode
Threaded Mode