2013-09-15, 11:12 AM
In the last couple of days I've been tinkering with an experimental feature of NextPVR called Touch web Service.
Wiki - http://www.nextpvr.com/nwiki/pmwiki.php?...WebService
Thanks Sub!
This is such a good idea and platform for building lightweight, yet fully spec clients.
I'm using it to get NextPVR directly on my LG Smart TV as an App.
I think this platform has the potential to become a worthy successor to the excellent NMT-client now as PopcornHours are getting hard to find.
The big advantage to this approach vs building a client using traditional web services is that you'll get all the skinning, most features, including some 3rd party plugins for free. How is that possible?
Well..it basically works by running a real NextPVR client on the server and sending a screenshot image to the client whenever it receives a kepress sent over http. It can't be any simpler really.
I actually in less than a day of coding got it up an running on my LG TV looking and working just like the real thing. Me and web design don't mix very well so just getting the TV guide on the screen would have taken me weeks building a traditional web client depending on webservices.
This is early days but I feel confident to say this definitely is worth building on and it's time to move away from experimental.
I've listed some things that I feel would need fixing before it can drop it's experimental status.
Some things will need work to be made on server side, some issues may just be a matter of information.
Requested features
* Allow for multiple simultaneous clients
* The ability to send ctrl-keys (such as ctrl-P for play)
* More info about the file about to play (recording name, and resume at position etc)
* Streaming of files with accented filenames doesn't work.
Bugs and quirks due to it's experimental
* It starts playback of the requested file in the NextPVR.exe running (hidden) on the server causing errors.
* Server must be run using NRecord RUN to avoid the errors caused by this playback issue.
Just a thought...
I don't know anything about the inner workings of NextPVR but what comes to my mind is to refactor the NMT-mode to allow for communication using Motion Jpeg and http requests mimicking the âmodified version of VNCâ I believe is what NMT uses.
To me these two clients seem to have much i common.
/Fred
Wiki - http://www.nextpvr.com/nwiki/pmwiki.php?...WebService
Thanks Sub!
This is such a good idea and platform for building lightweight, yet fully spec clients.
I'm using it to get NextPVR directly on my LG Smart TV as an App.
I think this platform has the potential to become a worthy successor to the excellent NMT-client now as PopcornHours are getting hard to find.
The big advantage to this approach vs building a client using traditional web services is that you'll get all the skinning, most features, including some 3rd party plugins for free. How is that possible?
Well..it basically works by running a real NextPVR client on the server and sending a screenshot image to the client whenever it receives a kepress sent over http. It can't be any simpler really.
I actually in less than a day of coding got it up an running on my LG TV looking and working just like the real thing. Me and web design don't mix very well so just getting the TV guide on the screen would have taken me weeks building a traditional web client depending on webservices.
This is early days but I feel confident to say this definitely is worth building on and it's time to move away from experimental.
I've listed some things that I feel would need fixing before it can drop it's experimental status.
Some things will need work to be made on server side, some issues may just be a matter of information.
Requested features
* Allow for multiple simultaneous clients
* The ability to send ctrl-keys (such as ctrl-P for play)
* More info about the file about to play (recording name, and resume at position etc)
* Streaming of files with accented filenames doesn't work.
Bugs and quirks due to it's experimental
* It starts playback of the requested file in the NextPVR.exe running (hidden) on the server causing errors.
* Server must be run using NRecord RUN to avoid the errors caused by this playback issue.
Just a thought...
I don't know anything about the inner workings of NextPVR but what comes to my mind is to refactor the NMT-mode to allow for communication using Motion Jpeg and http requests mimicking the âmodified version of VNCâ I believe is what NMT uses.
To me these two clients seem to have much i common.
/Fred