PDA

View Full Version : Getting DVDspys Data Out



MMcM
October 13th, 2002, 12:55 PM
I too would avoid trying to get some kind of IIS push to work. Setting the refresh interval on the page you generate does seem like the most straightforward way to do this.

You did not say what kind of web browser is on the other end. Is it an internet appliance or PDA or something limited like that? If it's a full desktop machine, you could always have an applet that communicated on its own to the server.

There are two problems with the refresh technique. One is the latency. That's hard to get around; all you can do is shorten the interval. The other is the full page redraw. You can avoid that by using Javascript (if the browser has it) to get the content into an invisible document and then selectively update. Of course, that will end up being browser specific, which is a shame.

desmo
October 13th, 2002, 12:55 PM
DVDspy just gets more and more useful.
I use a web browser on a remote machine pointed at IIS to control girder through the TCPIP plugin.
Im getting to grips with DVDspy, and Im wondering how best to get this data back to my remote browser.
I could use a Server Push from IIS to update time/title/chapter data to my browser client So:
IIS would call the TCPIP plugin for the string registries filled by DVDspy and "push" these back to the browser.
Though I have a feeling server push is depreciated these days and IIS doesnt natively implement it anyway.
Anyone know enough about HTTP1.1 and persistent sockets to point me in the right direction?
Or I could drive it from the other end and use a client pull ie the browser requests new data every second or so. This what I currently do to get data back from Winamp, though it seems less elegant.
Unfortunately I cant see anyway of triggering the TCPIP plugin to send this data to IIS which is frustratrating as girder fires exactly at the moment I want the data.
I know Im barking, Im just not sure its not up the right tree.

desmo
October 13th, 2002, 12:55 PM
The Browser runs on a 3Com Audrey connected via 10baseT under QNX (flavour of posix) with a VGA res 14bit touch screen. Sadly no Java, but some level of Javascript at least.
Its limited but still very usable for my needs as a remote control, and simple browsing - weather, traffic etc.

Fortunately the browser renders Framesets, so I was intending just to update a minimal frame with the dynamic data. The rest of the screen being buttons to control the normal Girder actions.

I understand the preference for keeping the client side as simple as possible, though this can lead to non optimal code eg Audrey doesnt render CSS but is happy to use the depreciated FONT element.

Thanks for the advice, and of course the Plugin. Ill try to post whatever I end up with.