Unoffical empeg BBS

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

Topic Options
#66341 - 03/02/2002 21:49 Programatically determine Hijack version?
Gary
stranger

Registered: 03/02/2002
Posts: 25
Is there an ftp or http command that will return the Hijack version number?

I see the new playlist functions including the version number in the html, so if there isn't a simpler way, I could parse it out of the html.

Simplest would be:
http://empeg?hijack_version
which would return
175

I see a /proc/version, but that appears to be the linux/player version, not Hijack.

Top
#66342 - 03/02/2002 22:14 Re: Programatically determine Hijack version? [Re: Gary]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Mmm.. I suppose I ought to have /proc/version include the hijack release number as part of the kernel version string, so instead of "Linux version 2.2.14-rmk5-np17-empeg50-hijack" it might say "Linux version 2.2.14-rmk5-np17-empeg50-hijack-v175".

That's the best solution (no new code, easy access), but it might be a few revisions before I get to it.

Cheers

Top
#66343 - 03/02/2002 23:29 Re: Programatically determine Hijack version? [Re: mlord]
Gary
stranger

Registered: 03/02/2002
Posts: 25
> ...it might be a few revisions before I get to it.

Right, so that'll be what, 10 minutes?


Top
#66344 - 04/02/2002 11:42 Re: Programatically determine Hijack version? [Re: Gary]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
It will be in v176 later today.

Top