NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 5 6 7 8 9 … 93 Next »
Time to make Touch web Service less experimental

 
  • 0 Vote(s) - 0 Average
Time to make Touch web Service less experimental
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#21
2013-09-16, 11:46 AM
I thought I'd resurrect my python code for XBMC to connect to the touch service but I lost it and had to redo it, at least my python skills improved a little and this only took an hour or so. Here's a video with the problems I see http://youtu.be/lK-Czm5TAzE

- YouTube (beta) Trailer, I have to keep hitting a key for the progress bar to show, there is no async refresh method (not sure what to do with this)
- Video Library the meta data is for the wrong item, likely the caching is before the screen capture
- after Exit @2:30 using the &key interface loads a new session but at the default lower res, requires exit from client and a restart of the server to reinit
- hitting Esc to close a plugin (see recording at 3:10) most of the time doesn't land on the right menu item, it can be before or after.

I agree with Fred this is worth taking further. Speed is pretty good in my environment, I haven't tested on slow machine, I will wait for file urls to work

Also for an enhancement

- when a filename is returned it should be in an object indicating the media type and the resume location.
- new api calls method=recording.watched.set and method=recording.watched.clear need a filename option

Martin
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#22
2013-09-16, 11:50 AM
fred250 Wrote:I’d love to see this touch thing grow big. Most of the work has to be made server side so I guess “push it forward” really means trying to get sub to implement all terrific features that comes to mind Wink.

/Fred

@Sub, I hope I didn’t offend you by my comment. I honestly had no intentions to.
Please bear with me since English is not my native language and I’ll probably do it again :oWink


/Fred
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#23
2013-09-16, 12:48 PM
mvallevand Wrote:I thought I'd resurrect my python code for XBMC to connect to the touch service but I lost it and had to redo it, at least my python skills improved a little and this only took an hour or so.

An hour or so, impressive Martin!
I think this only shows the potential of this becoming a wide spread client platform.

mvallevand Wrote:- YouTube (beta) Trailer, I have to keep hitting a key for the progress bar to show, there is no async refresh method (not sure what to do with this)
- Video Library the meta data is for the wrong item, likely the caching is before the screen capture
- after Exit @2:30 using the &key interface loads a new session but at the default lower res, requires exit from client and a restart of the server to reinit
- hitting Esc to close a plugin (see recording at 3:10) most of the time doesn't land on the right menu item, it can be before or after.

I agree with Fred this is worth taking further. Speed is pretty good in my environment, I haven't tested on slow machine, I will wait for file urls to work

I also noticed that after hitting esc the screen isn’t always in sync. I suggest updating the screen on timer rather than on keypress would correct many errors. I suggested Motion Jpeg earlier.


mvallevand Wrote:Also for an enhancement

- when a filename is returned it should be in an object indicating the media type and the resume location.
- new api calls method=recording.watched.set and method=recording.watched.clear need a filename option

Martin


I agree on passing an object instead of just a filename. I would prefer a JSON object rather than XML (as sub indicates by the filename webclient.xml).
Filename, name of the show, description and resume position is what comes to my mind.

/Fred
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#24
2013-09-16, 03:40 PM
I don't think we need mjpeg but a tag in the response

<META HTTP-EQUIV="REFRESH" CONTENT="15;URL=....">

would be useful.

Martin
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#25
2013-09-16, 05:20 PM
mvallevand Wrote:I don't think we need mjpeg but a tag in the response

<META HTTP-EQUIV="REFRESH" CONTENT="15;URL=....">

would be useful.

Martin

Yes, if that would do the trick it's fine with me. It would be nice if the frequency was adjustable from the client though. There is always the option to make a periodic call in code from the client, but this would create some overhead of course.



I was thinking of experimenting a bit with timing.info. I usually don't have much trouble with accuracy in seeking but I've found a file that has a bad time line. Now I don't know where to find the timing.info – is it a separate file or inside the .ts?
Is there a setting or is it always generated?


/Fred
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#26
2013-09-16, 05:38 PM
fred250 Wrote:
fred250 Wrote:I’d love to see this touch thing grow big. Most of the work has to be made server side so I guess “push it forward” really means trying to get sub to implement all terrific features that comes to mind Wink.

/Fred

@Sub, I hope I didn’t offend you by my comment. I honestly had no intentions to.
Please bear with me since English is not my native language and I’ll probably do it again :oWink
No worries. I've sent you a PM on getting access to the pre-releases of the next build, so that I'm in a position to give you patches.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#27
2013-09-16, 05:40 PM
fred250 Wrote:Now I don't know where to find the timing.info – is it a separate file or inside the .ts?
Is there a setting or is it always generated?
It's always generated on recordings. It's usually embedded in an Alternate Data Stream on NTFS disks, but can write to a separate *.timing.info file on FAT32, or if you have a registry setting indicating you prefer to have a separate file.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#28
2013-09-16, 05:50 PM
sub Wrote:No worries. I've sent you a PM on getting access to the pre-releases of the next build, so that I'm in a position to give you patches.

Thanks!


sub Wrote:It's always generated on recordings. It's usually embedded in an Alternate Data Stream on NTFS disks, but can write to a separate *.timing.info file on FAT32, or if you have a registry setting indicating you prefer to have a separate file.

Yes, I eventually found I post showing how to get the information.
http://forums.nextpvr.com/showthread.php...iming.info

/Fred
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,120
Threads: 957
Joined: May 2006
#29
2013-09-16, 06:06 PM
fred250 Wrote:Yes, if that would do the trick it's fine with me. It would be nice if the frequency was adjustable from the client though. There is always the option to make a periodic call in code from the client, but this would create some overhead of course.

What I do in my client is send the /size=1280x720 as kind of a NOP refresh every 10 seconds after keystroke.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#30
2013-09-16, 06:19 PM
mvallevand Wrote:- YouTube (beta) Trailer, I have to keep hitting a key for the progress bar to show, there is no async refresh method (not sure what to do with this)

Are you talking about the progress bar on the new progress popup? I'll double check my NeedsRendering()
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (11): « Previous 1 2 3 4 5 … 11 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 7,291 2022-04-11, 04:30 PM
Last Post: mandai
  Extending end time. mvallevand 5 4,157 2018-10-17, 01:21 PM
Last Post: jcole998
  NextPVR "Service" Backend? jcole998 5 4,899 2018-05-24, 01:17 PM
Last Post: jcole998
  Transcoding service mvallevand 27 12,513 2016-08-26, 07:43 PM
Last Post: sub
  Extending recording time mvallevand 2 2,508 2014-09-14, 01:04 AM
Last Post: sub
  Touch and http audio url's mvallevand 0 1,451 2013-11-03, 07:05 PM
Last Post: mvallevand
  <StartTime> and <EndTime> time formats? spinnaker 3 2,556 2013-10-25, 01:48 AM
Last Post: spinnaker
  New web service clarification needed bgowland 6 3,342 2013-10-19, 02:36 AM
Last Post: bgowland
  [REQ] Additional web service API calls reven 26 8,561 2013-08-31, 10:08 PM
Last Post: mvallevand
  getting recurring recordings from service?method API? reven 2 2,007 2013-08-03, 10:50 PM
Last Post: reven

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

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

Linear Mode
Threaded Mode