Programatically determine Hijack version?

Posted by: Gary

Programatically determine Hijack version? - 03/02/2002 21:49

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.
Posted by: mlord

Re: Programatically determine Hijack version? - 03/02/2002 22:14

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
Posted by: Gary

Re: Programatically determine Hijack version? - 03/02/2002 23:29

> ...it might be a few revisions before I get to it.

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

Posted by: mlord

Re: Programatically determine Hijack version? - 04/02/2002 11:42

It will be in v176 later today.