Sorry for being not exact, I meant OpenWebIf API in general.
OpenWebif [E2OpenPlugins]
Re: OpenWebif [E2OpenPlugins] #1281
Re: OpenWebif [E2OpenPlugins] #1282
Posted 8 November 2014 - 09:29
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1283
Re: OpenWebif [E2OpenPlugins] #1284
Posted 15 November 2014 - 23:36
Seems about.getImageVersionString() doesnt return image build date and time but date and time of latest flash user did.
For openpli images the file /etc/version can be used to extract the date and time of the build.
contents of this file on my openpli xp1000 image is:
201411151803
So the image build is done at 15-11-2014 18:03
I wonder why blackhole and vti use their own file, it would be much easier to use one file for all images?
To make it work for openpli too something like this could be used:
/plugin/controllers/models/info.py
if fileExists("/etc/bhversion"): f = open("/etc/bhversion",'r') imagever = f.readline().strip() f.close() elif fileExists("/etc/vtiversion.info"): f = open("/etc/vtiversion.info",'r') imagever = f.readline().strip() f.close() elif fileExists("/etc/version"): f = open("/etc/version",'r') imagever = f.readline().strip() f.close() else: imagever = about.getImageVersionString()
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Re: OpenWebif [E2OpenPlugins] #1285
Re: OpenWebif [E2OpenPlugins] #1286
Posted 16 November 2014 - 11:15
But still it returns the latest flash timestamp here...
Am I mistaken? Time in this file is relative due to timezone?
Look here:
http://openpli.org/d...digital/xp1000/
OpenPLi-4.0-beta-xp1000-20141115_usb.zip 2014/11/15 18:17 - 45.20MB
I'm sure I flashed my xp1000 box about 19:30, so I thought that date/timestamp in the /etc/version file must be refering to the date/time of the imagebuild
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Re: OpenWebif [E2OpenPlugins] #1287
Posted 16 November 2014 - 11:29
On our upload (= distribution) server, from which the website gets it's data:
[openpli@openpli1 xp1000]# date Sun Nov 16 11:27:55 CET 2014 [openpli@openpli1 xp1000]# ls -l total 185428 -rwxrwsr--. 1 root g_pli 47483431 Nov 9 07:53 OpenPLi-4.0-beta-xp1000-20141109_usb.zip -rwxrwsr--. 1 root g_pli 47495726 Nov 10 05:17 OpenPLi-4.0-beta-xp1000-20141110_usb.zip -rwxrwsr--. 1 root g_pli 47493285 Nov 12 05:17 OpenPLi-4.0-beta-xp1000-20141112_usb.zip -rwxrwsr--. 1 root g_pli 47397254 Nov 15 18:17 OpenPLi-4.0-beta-xp1000-20141115_usb.zip
So times in CET.
I don't have access to the buildserver, but I assume it runs CET too.
As far as I know, the /etc/version file is part of the image, so it makes sense it has the build timestamp, and not the install timestamp.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: OpenWebif [E2OpenPlugins] #1288
Posted 16 November 2014 - 11:33
Just checked with an old image file I still had here, and flashed on my 10K:
root@et10000:~# ls -l /etc/version -rw-r--r-- 1 root root 13 Oct 14 04:37 /etc/version root@et10000:~# cat /etc/version 201410140429 root@et10000:~#
So absolutely build time, not flash time. To be even more correct, the build time recorded is 04:29 on 20141014, the timestamp of the file is 8 minutes later.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: OpenWebif [E2OpenPlugins] #1289
Re: OpenWebif [E2OpenPlugins] #1290
Posted 16 November 2014 - 12:21
To date it is November (11) not October (10).///
Yes... WanWizard did a test with an old image so he proofed /etc/version contains builddate not flashdate
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Re: OpenWebif [E2OpenPlugins] #1291
Posted 16 November 2014 - 13:49
Indeed. Proper reading is an art...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: OpenWebif [E2OpenPlugins] #1292
Re: OpenWebif [E2OpenPlugins] #1293
Posted 16 November 2014 - 15:54
I think he meant month 11 (= november).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: OpenWebif [E2OpenPlugins] #1294
Posted 16 November 2014 - 16:20
For sure...
So this is valid for SatKiekerd too!
Indeed. Proper reading is an art...
Edited by theparasol, 16 November 2014 - 16:20.
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Re: OpenWebif [E2OpenPlugins] #1295
Re: OpenWebif [E2OpenPlugins] #1296
Posted 16 November 2014 - 17:59
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1297
Posted 16 November 2014 - 18:07
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: OpenWebif [E2OpenPlugins] #1298
Re: OpenWebif [E2OpenPlugins] #1299
Posted 17 November 2014 - 00:27
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1300
7 user(s) are reading this topic
0 members, 7 guests, 0 anonymous users