NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 4 5 6 7 8 … 93 Next »
How to get edl information for videos in a web client?

 
  • 0 Vote(s) - 0 Average
How to get edl information for videos in a web client?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
Joined: May 2006
#11
2014-12-07, 01:00 AM
I'm confused by what you are asking that json activity is returned in near-real time when when you hit enter on a video

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#12
2014-12-07, 06:58 AM
mvallevand Wrote:For logging it would be especially nice if we get our own webclient.log instead of npvr.log like you do for the MVP.log
Ok. They attached should send this logging to a new webclient.log file.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#13
2014-12-07, 09:51 AM
sub Wrote:Ok. They attached should send this logging to a new webclient.log file.

Thanks,
I now get a webclient.log, great!

How do I use it?
I may not have been clear in my wish but what I meant to ask for was a http-logging-method (GET or maybe POST) to use from the web client to be able to pass debug information that ends up in log file on the server where users can easily find it.
Maybe something like this: /service?method=log?level=debug?message=some%20url%20encoded%20message

/Fred
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#14
2014-12-07, 10:18 AM
mvallevand Wrote:I'm confused by what you are asking that json activity is returned in near-real time when when you hit enter on a video

Martin

I'm confused too. :confused:

My only concern was that this edl-url property would be empty when I start playing but there will be edl-data in a while and I wouldn't know that and have no url to access it.
This scenario will only apply to in-progress recordings, for videos this won't be a problem.

Nevermind, I believe in sub to come up with a good solution.

/Fred
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
Joined: May 2006
#15
2014-12-07, 02:14 PM
I get in now you want dynamic edl loading after the user starts watching a show, XBMC doesn't do that and I didn't know NextPVR did either it's not something I tested on the MVP/NMT.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
Joined: May 2006
#16
2014-12-07, 02:56 PM (This post was last modified: 2014-12-07, 03:10 PM by mvallevand.)
fred250 Wrote:Thanks,
I now get a webclient.log, great!

How do I use it?
I may not have been clear in my wish but what I meant to ask for was a http-logging-method (GET or maybe POST) to use from the web client to be able to pass debug information that ends up in log file on the server where users can easily find it.
Maybe something like this: /service?method=log?level=debug?message=some%20url%20encoded%20message

/Fred

Thanks for webclient.log sub.

@fred250 as a hack until the next version just tack a parameter on when you need one.

2014-12-07 09:50:41.379 [DEBUG][4] Got Web Request (172.16.3.51): /control key=0&client=....&comment=Hi+fred250

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#17
2014-12-07, 05:32 PM
fred250 Wrote:How do I use it?
I may not have been clear in my wish but what I meant to ask for was a http-logging-method (GET or maybe POST) to use from the web client to be able to pass debug information that ends up in log file on the server where users can easily find it.
Maybe something like this: /service?method=log?level=debug?message=some%20url%20encoded%20message
Sorry - I should have been more clear. There is several different requests in this post. That patch only addressed changing the web client logging to webclient.log.

Earlier I had also added a "method=system.log&type=error&msge=asdasdasdasdasd" mechanism. I've attached that. I should point out that goes to web.log though, not this new webclient.log, because where all these "/service?method=" calls are processed. If you want something similar, but pushed all the way through to webclient.log, it'll probably need to be with the next releases, since it'll need a change to an interface between components.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#18
2014-12-07, 08:41 PM
sub Wrote:If you want something similar, but pushed all the way through to webclient.log, it'll probably need to be with the next releases, since it'll need a change to an interface between components.

Thanks I will check it out.
I'm fine with logging to web.log.

/Fred
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#19
2014-12-07, 09:49 PM
mvallevand Wrote:I get in now you want dynamic edl loading after the user starts watching a show, XBMC doesn't do that and I didn't know NextPVR did either it's not something I tested on the MVP/NMT.

Martin

I don't know if NextPVR does but your NMT client does and I still use the NMT when chasing an in-progress recording (especially if it is a long show, since skipping in in-progress recordings is risky business on any of my Smart TVs).



mvallevand Wrote:@fred250 as a hack until the next version just tack a parameter on when you need one.

2014-12-07 09:50:41.379 [DEBUG][4] Got Web Request (172.16.3.51): /control key=0&client=....&comment=Hi+fred250

Martin

Yep, I've occasionally used it for personal tracing, but it's nothing you want in production.

/Fred
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
Joined: May 2006
#20
2014-12-07, 10:04 PM
fred250 Wrote:I don't know if NextPVR does but your NMT client does and I still use the NMT when chasing an in-progress recording (especially if it is a long show, since skipping in in-progress recordings is risky business on any of my Smart TVs).

I just dropped an edl file on a playing recording and I didn't see it register in NextPVR and didn't see any comskip show up on the timeline. I know mvpmcx2 is completely driven by NextPVR. The big difference in NextPVR on in-progress vs completed recordings is the accurate seeking with Timing.Info.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Developing Android TV client fred250 2 1,781 2020-11-16, 06:33 PM
Last Post: fred250
  Web Client: Slow with separate thread and date not obscured cncb 32 15,730 2016-10-10, 02:01 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,210 2015-09-29, 08:07 PM
Last Post: cncb
  Remote client logout timeout. mvallevand 2 2,510 2014-10-28, 12:55 AM
Last Post: mvallevand
  Web services information psycik 22 7,530 2013-12-05, 10:31 PM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,053 2013-07-03, 01:39 AM
Last Post: mvallevand
  On-the-fly transcoding for streaming recordings / videos bgowland 6 3,988 2012-06-03, 03:10 AM
Last Post: bgowland
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,859 2012-02-05, 10:29 AM
Last Post: bgowland
  Render order in Videos Jaggy 13 4,339 2011-10-12, 11:20 AM
Last Post: mvallevand
  Client - Tuner plugins mvallevand 53 13,433 2011-09-17, 07:19 PM
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