Dumb question about Hijack

Posted by: tfabris

Dumb question about Hijack - 03/02/2002 01:49

Okay, now that I can connect to the player by name reliably on a DHCP network (thanks to FindEmpeg, yay!), I'm now keen on playing with Hijack's HTTP and FTP features more.

I already messed with the streaming. Amazing, absolutely amazing. I mean, Frank did it with Displayserver a while ago, but you're doing it in the freaking KERNEL, that's just too cool. It occurs to me that it wouldn't be farfetched to tweak this into a memory-friendly Rio Receiver server, but I digress...

This is a terribly stupid question, and I know it's answered somewhere in one of the Hijack threads, but my cursory glance didn't track it down. Sorry for asking a redundant question, but here goes:

Is there an HTTP command, in URL format, that allows me to set the player's hard disks to RW and RO? For instance, can I say:

http://myempeg.mynetwork.com?rw
http://myempeg.mynetwork.com?ro

Can I do that, or something similar?
Posted by: tfabris

Re: Dumb question about Hijack - 03/02/2002 01:51

Never mind. Stupid me. What I typed in works, exactly as I typed it. It even gives me feedback directly on the player's screen.

Someone please slap me.

Hey, give me a break, it's after midnight.
Posted by: tfabris

Re: Dumb question about Hijack - 03/02/2002 02:03

All right, maybe this isn't such a dumb thread after all. I think I found a problem in this feature, and I wonder if Hijack can be updated with a fix for it?

I don't think this problem is necessarily Hijack's fault, but I wonder if it can do something about it.

If I do multiple occurrences of :

http://myempeg.mynetwork.com?rw
http://myempeg.mynetwork.com?ro
http://myempeg.mynetwork.com?rw
http://myempeg.mynetwork.com?ro

(etc.),

Some of those get cached by Internet Exploder and the actual command never gets sent to the player. Hence, I might issue the RO command and it does nothing.

Is there a way to format your pages so that this doesn't happen? I'm not fully clear on how the "pragma nocache" thing works these days, would that work? Someone once told me that most browsers ignore it, or something like that.
Posted by: tarkie

Re: Dumb question about Hijack - 03/02/2002 02:33

Pragma nocache only works for some browsers, you also need to specify a date when the page does expire. So, to force a page to expire immediately, you need to set that date to a date in the distant past.
Posted by: bonzi

Re: Dumb question about Hijack - 03/02/2002 02:57

Shift-Reload?

Edit: I mean shift-Refresh - seems to be working for me
Posted by: crocklobster

Re: Dumb question about Hijack - 03/02/2002 06:55

Also, in IE, there is a setting that says when it should check for newer versions of stored pages. In IE5, Tools -> Internet Options -> Temporary Internet Files frame -> click on Settings. In there, make sure "Every visit to the page" is selected.
Posted by: wfaulk

Re: Dumb question about Hijack - 03/02/2002 10:10

I believe that's Ctrl-Re[load,fresh] under IE.
Posted by: Taym

Re: Dumb question about Hijack - 03/02/2002 10:25

Tony, sorry if I am asking something obvious, but I think I chose the wrong time to stay away (few days! Just few days!!) from the bbs and now I see so mych new stuff around. So my question is: what is FindEmpeg, where can I find it?
Thank you!
Posted by: hybrid8

Re: Dumb question about Hijack - 03/02/2002 10:26

See the thread with my user-name in its subject.

Bruno
Posted by: tfabris

Re: Dumb question about Hijack - 03/02/2002 10:28

what is FindEmpeg, where can I find it?

Right Here.
Posted by: mlord

Hijack v172 - 03/02/2002 10:51

The various assortment of necessary "don't cache this friggin page" headers are now in Hijack v172, for "/proc/*", "/dev/*", and anything with a "?command" attached to it. But not playlists, which can safely be considered "static" content.

New in v172:
  • prevent browser caching of dynamic content URLs (as per above)
  • reset all options to default before re-reading config.ini


    Cheers
  • Posted by: mlord

    Re: Hijack v172 - 03/02/2002 10:54

    Note that if you access a URL without a PATH, the non-cachable headers are NOT returned:

    GET ?RW

    This returns a "204 No Response" header, without the nocache lines.

    -ml
    Posted by: tfabris

    Re: Hijack v172 - 03/02/2002 11:15

    May I take this opportunity to remind you: YOU DA MAN!
    Posted by: mlord

    Re: Hijack v172 - 03/02/2002 12:31

    Thanks Tony!