PDA

View Full Version : Web UI client/server



bgowland
2012-01-18, 05:30 AM
This thread is to provide feedback and discussion about the experimental web ui client/server introduced in NextPVR v2.3.6.

EDIT: In case you got here first and you're wondering "what the heck?" the following link should help explain...

http://forums.gbpvr.com/showthread.php?51439-NextPVR-UI-Web-Service&p=428464#post428464

I don't see this thread as a support thread for what is available at the moment - it would be nice to hear from developers and users of various client platforms that can use this new feature in order to find out about its potential.

pBS
2012-02-01, 07:35 PM
very nice so far...nav is fine but i can't seem to figure out what to do to click or escape/back..
edit: i found them but can't seem to make them work reliably..still early tho.. will play with it to see what works for mine..
is there an escape/back key?
and i can't get top menus to show at all for some reason..but can click them sometimes..lol

i can also use the pc instance of nextpvr.exe with keyboard on pc..but it doesn't update tablet..[duh]
[i'm using it on a android tablet i just got]

and what are the requirements for playback? mine plays wonderfully with mx player natively..and may in the app if i could start it..:)
i love the idea and direction this could go...

and not sure if this is where questions should go?
thanx..

bgowland
2012-02-01, 10:50 PM
nav is fine but i can't seem to figure out what to do to click or escape/back..
edit: i found them but can't seem to make them work reliably..still early tho.. will play with it to see what works for mine..
is there an escape/back key?
and i can't get top menus to show at all for some reason..but can click them sometimes..lolIt is all still experimental and it's possible that sub may be able to improve various aspects in the future. I found on some screens at least, performing an upward swipe away from where the top menu is would actually show it. Swiping up into / touching the corner, however, seems to activate the Back function and update the screen before the top menu can become visible.


and what are the requirements for playback? mine plays wonderfully with mx player natively..and may in the app if i could start it..:)If you are using the nTouch client I developed then it should attempt to fire-up whatever media player you have installed on your tablet. This works reliably for me with music and recordings - the live tv playback has been more temperamental.


and not sure if this is where questions should go?I created this thread really for general discussion of the concept of the web UI feature for anybody looking at it on whatever platform. I think its future is dependent on whether or not people find it of use.

The nTouch client app I created was really just for 'proof of concept' and because it didn't work using the built-in Android web browser (the oversize viewport and zoom/stretch capabilities messed with the touch/swipe actions).

pBS
2012-02-02, 10:53 PM
to 'click' i have to click somewhere near bottom middle of screen to get it to register a click..
[seems like a small window center-bottom of screen only for clicks,wipes work everywhere]

and only other problem i have is when i try to play video, it plays on the server..not the client that requested it..[with no sound]
even on my pc's browser..

what should nextpvr service be set to logon as?

what logs should i be looking in for info?

bgowland
2012-02-02, 11:47 PM
to 'click' i have to click somewhere near bottom middle of screen to get it to register a click..
[seems like a small window center-bottom of screen only for clicks,wipes work everywhere]Odd - the clicks are supposed to work in the exact position of whatever you are clicking on and in fact the associated javascript actually sends X and Y co-ordinates which the server end processes. Whit sort of tablet are you trying this on and what is the screen size and resolution? It could be pixel density which is throwing it off.


and only other problem i have is when i try to play video, it plays on the server..not the client that requested it..[with no sound]
even on my pc's browser..Video won't playback on a browser (javascript security restrictions) and the window on the server won't have sound - that's the same for me. It should work with MX Player on your device though. It should be OK with .ts and possibly .mpg files.


what should nextpvr service be set to logon as?Just standard settings.


what logs should i be looking in for info?Urrrm, web.log and npvr.log (I think).

pBS
2012-02-03, 10:02 PM
ahh,ok...i have mx player on my tablet, it's an iview 760tpc 7" 800x480 screen, i think density is set to 120dpi..excellent 2160p playback on hdmi..:D

my tablet is only on gingerbread right now, i plan to upgrade soon to ICS 4.03..[already have files]
but can't seem to get .ts to play in any way over network, mp4 no problem tho..[maybe a limitation of GB 2.3.4,working in ICS4]
it sends it as a text file..mime-type problem with os...:( still working on a fix...[has something to do with intents etc.]

thanx, the logs should point me to problem with clicks if there's x/y logging..

bgowland
2012-02-03, 10:55 PM
ahh,ok...i have mx player on my tablet, it's an iview 760tpc 7" 800x480 screen, i think density is set to 120dpi..excellent 2160p playback on hdmi..:DAt 7" and 800x480 my first guess would be mdpi (medium dpi) which is 160dpi in generalised Android terms although it might just be 120dpi. It definitely seems like that may be a problem. I'll have a think and see if I can come up with some adjusted javascript code to compensate.


but can't seem to get .ts to play in any way over network, mp4 no problem tho..[maybe a limitation of GB 2.3.4,working in ICS4]
it sends it as a text file..mime-type problem with os...:( still working on a fix...[has something to do with intents etc.]Not sure that MX Video Player cares - it's quite an intelligent beast and if it can work out what's what then it just tries it. You may be right though - I haven't tried Gingerbread and it didn't get good press.


thanx, the logs should point me to problem with clicks if there's x/y logging..Unfortunately no XY logging - this was just all an experiment on sub's part after all. I'll think about the javascript and let you know how to show co-ordinates in popup alerts.

pBS
2012-02-04, 09:30 PM
finally i found a way to mount net shares locally, so i can map drives..which allows me to play .ts over network and still skip/have hardware accell..:)
[downloaded 'cifs manager' from android store and it did the trick as i couldn't map manually for some reason]
are you using google chrome browser? maybe browser makes a difference..

bgowland
2012-02-04, 09:53 PM
are you using google chrome browser? maybe browser makes a difference..Technically speaking nTouch doesn't use a 'browser' - it handles its own HTTP connections and uses an Android view type called a WebView which is basically just a blank sheet which interprets web content.