Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#66056 - 03/02/2002 01:49 Dumb question about Hijack
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
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?
_________________________
Tony Fabris

Top
#66057 - 03/02/2002 01:51 Re: Dumb question about Hijack [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
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.
_________________________
Tony Fabris

Top
#66058 - 03/02/2002 02:03 Re: Dumb question about Hijack [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
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.
_________________________
Tony Fabris

Top
#66059 - 03/02/2002 02:33 Re: Dumb question about Hijack [Re: tfabris]
tarkie
journeyman

Registered: 28/12/2001
Posts: 99
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.
_________________________
M2a/Smoke/60gb/Tuner!! Thanks Joe M2a/Blue10gb Thanks Ian!

Top
#66060 - 03/02/2002 02:57 Re: Dumb question about Hijack [Re: tfabris]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Shift-Reload?

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


Edited by bonzi (03/02/2002 03:00)
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#66061 - 03/02/2002 06:55 Re: Dumb question about Hijack [Re: bonzi]
crocklobster
member

Registered: 19/12/2001
Posts: 108
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.

Top
#66062 - 03/02/2002 10:10 Re: Dumb question about Hijack [Re: bonzi]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I believe that's Ctrl-Re[load,fresh] under IE.
_________________________
Bitt Faulk

Top
#66063 - 03/02/2002 10:25 Re: Dumb question about Hijack [Re: tfabris]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
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!
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#66064 - 03/02/2002 10:26 Re: Dumb question about Hijack [Re: Taym]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
See the thread with my user-name in its subject.

Bruno
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#66065 - 03/02/2002 10:28 Re: Dumb question about Hijack [Re: Taym]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
what is FindEmpeg, where can I find it?

Right Here.
_________________________
Tony Fabris

Top
#66066 - 03/02/2002 10:51 Hijack v172 [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
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

  • Top
    #66067 - 03/02/2002 10:54 Re: Hijack v172 [Re: mlord]
    mlord
    carpal tunnel

    Registered: 29/08/2000
    Posts: 14496
    Loc: Canada
    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


    Edited by mlord (03/02/2002 10:54)

    Top
    #66068 - 03/02/2002 11:15 Re: Hijack v172 [Re: mlord]
    tfabris
    carpal tunnel

    Registered: 20/12/1999
    Posts: 31600
    Loc: Seattle, WA
    May I take this opportunity to remind you: YOU DA MAN!
    _________________________
    Tony Fabris

    Top
    #66069 - 03/02/2002 12:31 Re: Hijack v172 [Re: tfabris]
    mlord
    carpal tunnel

    Registered: 29/08/2000
    Posts: 14496
    Loc: Canada
    Thanks Tony!

    Top